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/str.rs | |
| parent | 5350ee740e66a73161eb4cdf5b95d55fe570fc26 (diff) | |
std: Fill in all missing imports
Fallout from the previous commits
Diffstat (limited to 'src/libstd/str.rs')
| -rw-r--r-- | src/libstd/str.rs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/libstd/str.rs b/src/libstd/str.rs index 230564c6bf1..a005549402e 100644 --- a/src/libstd/str.rs +++ b/src/libstd/str.rs @@ -977,11 +977,13 @@ static TAG_CONT_U8: u8 = 128u8; /// Unsafe operations pub mod raw { use cast; + use container::Container; use libc; use ptr; - use str::{is_utf8, OwnedStr}; + use ptr::RawPtr; + use str::{is_utf8, OwnedStr, StrSlice}; use vec; - use vec::MutableVector; + use vec::{MutableVector, ImmutableVector, OwnedVector}; use unstable::raw::Slice; /// Create a Rust string from a *u8 buffer of the given length @@ -1137,10 +1139,12 @@ Section: Trait implementations #[cfg(not(test))] #[allow(missing_doc)] pub mod traits { - use ops::Add; + use container::Container; use cmp::{TotalOrd, Ordering, Less, Equal, Greater, Eq, Ord, Equiv, TotalEq}; - use super::{Str, eq_slice}; + use iter::Iterator; + use ops::Add; use option::{Some, None}; + use str::{Str, StrSlice, OwnedStr, eq_slice}; impl<'a> Add<&'a str,~str> for &'a str { #[inline] |
