diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-01-06 16:48:51 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-01-07 23:51:38 -0800 |
| commit | 7e0443d6c4e683105f20de85dc4591cc5cf2518d (patch) | |
| tree | 631c8a852acedabef00ba3e371e785e90a581c56 /src/libstd/vec.rs | |
| parent | 5350ee740e66a73161eb4cdf5b95d55fe570fc26 (diff) | |
| download | rust-7e0443d6c4e683105f20de85dc4591cc5cf2518d.tar.gz rust-7e0443d6c4e683105f20de85dc4591cc5cf2518d.zip | |
std: Fill in all missing imports
Fallout from the previous commits
Diffstat (limited to 'src/libstd/vec.rs')
| -rw-r--r-- | src/libstd/vec.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs index 450cf1a4ef2..4fa2372c1ab 100644 --- a/src/libstd/vec.rs +++ b/src/libstd/vec.rs @@ -611,6 +611,7 @@ impl<'a, T> RandomAccessIterator<&'a [T]> for ChunkIter<'a, T> { pub mod traits { use super::*; + use container::Container; use clone::Clone; use cmp::{Eq, Ord, TotalEq, TotalOrd, Ordering, Equiv}; use iter::order; @@ -2520,7 +2521,7 @@ pub unsafe fn from_buf<T>(ptr: *T, elts: uint) -> ~[T] { pub mod raw { use cast; use ptr; - use vec::{with_capacity, MutableVector}; + use vec::{with_capacity, MutableVector, OwnedVector}; use unstable::raw::Slice; /** @@ -2599,8 +2600,9 @@ pub mod raw { /// Operations on `[u8]`. pub mod bytes { use container::Container; - use vec::MutableVector; + use vec::{MutableVector, OwnedVector, ImmutableVector}; use ptr; + use ptr::RawPtr; /// A trait for operations on mutable `[u8]`s. pub trait MutableByteVector { |
