rustc: Remove some unused references to std::vec from tstate::ann and tstate::auxiliary

This commit is contained in:
Patrick Walton 2011-07-05 13:50:51 -07:00
parent abab04635a
commit 5739e0be01
2 changed files with 1 additions and 6 deletions

View File

@ -1,5 +1,4 @@
import std::vec;
import tritv::*;
type precond = t;

View File

@ -1,9 +1,5 @@
import std::ivec;
import std::str;
import std::vec;
import std::vec::len;
import std::vec::grow;
import std::vec::pop;
import std::option;
import std::option::none;
import std::option::some;
@ -645,7 +641,7 @@ fn substitute_arg(&ty::ctxt cx, &(@expr)[] actuals, @constr_arg a) ->
}
fn path_to_ident(&ty::ctxt cx, &path p) -> ident {
alt (vec::last(p.node.idents)) {
alt (std::vec::last(p.node.idents)) {
case (none) { cx.sess.span_fatal(p.span, "Malformed path"); }
case (some(?i)) { ret i; }
}