Skip to content

Commit 5739e0b

Browse files
committed
rustc: Remove some unused references to std::vec from tstate::ann and tstate::auxiliary
1 parent abab046 commit 5739e0b

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/comp/middle/tstate/ann.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
import std::vec;
32
import tritv::*;
43

54
type precond = t;

src/comp/middle/tstate/auxiliary.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import std::ivec;
22
import std::str;
3-
import std::vec;
4-
import std::vec::len;
5-
import std::vec::grow;
6-
import std::vec::pop;
73
import std::option;
84
import std::option::none;
95
import std::option::some;
@@ -645,7 +641,7 @@ fn substitute_arg(&ty::ctxt cx, &(@expr)[] actuals, @constr_arg a) ->
645641
}
646642

647643
fn path_to_ident(&ty::ctxt cx, &path p) -> ident {
648-
alt (vec::last(p.node.idents)) {
644+
alt (std::vec::last(p.node.idents)) {
649645
case (none) { cx.sess.span_fatal(p.span, "Malformed path"); }
650646
case (some(?i)) { ret i; }
651647
}

0 commit comments

Comments
 (0)