merge *SliceExt
traits, use assoc types in SliceExt
, Raw[Mut]Ptr
This commit is contained in:
parent
167683da23
commit
cc5ecaf765
20 changed files with 489 additions and 494 deletions
|
@ -71,8 +71,7 @@ use option::Option::{None, Some};
|
|||
use str;
|
||||
use str::{CowString, MaybeOwned, Str, StrExt};
|
||||
use string::String;
|
||||
use slice::{AsSlice, CloneSliceExt};
|
||||
use slice::{PartialEqSliceExt, SliceExt};
|
||||
use slice::{AsSlice, SliceExt};
|
||||
use vec::Vec;
|
||||
|
||||
/// Typedef for POSIX file paths.
|
||||
|
|
|
@ -22,8 +22,7 @@ use option::Option::{None, Some};
|
|||
use kinds::Sized;
|
||||
use str::{FromStr, Str};
|
||||
use str;
|
||||
use slice::{CloneSliceExt, Split, AsSlice, SliceConcatExt,
|
||||
PartialEqSliceExt, SliceExt};
|
||||
use slice::{Split, AsSlice, SliceConcatExt, SliceExt};
|
||||
use vec::Vec;
|
||||
|
||||
use super::{BytesContainer, GenericPath, GenericPathUnsafe};
|
||||
|
@ -449,7 +448,7 @@ static dot_dot_static: &'static [u8] = b"..";
|
|||
mod tests {
|
||||
use super::*;
|
||||
use prelude::Option::{mod, Some, None};
|
||||
use prelude::{Vec, Clone, AsSlice, SliceExt, CloneSliceExt, IteratorExt};
|
||||
use prelude::{Vec, Clone, AsSlice, SliceExt, IteratorExt};
|
||||
use prelude::{DoubleEndedIteratorExt, Str, StrExt, ToString, GenericPath};
|
||||
use str;
|
||||
|
||||
|
|
|
@ -1121,7 +1121,7 @@ fn prefix_len(p: Option<PathPrefix>) -> uint {
|
|||
mod tests {
|
||||
use super::*;
|
||||
use prelude::Option::{mod, Some, None};
|
||||
use prelude::{Vec, Clone, AsSlice, SliceExt, CloneSliceExt, IteratorExt};
|
||||
use prelude::{Vec, Clone, AsSlice, SliceExt, IteratorExt};
|
||||
use prelude::{DoubleEndedIteratorExt, Str, ToString, GenericPath};
|
||||
use super::PathPrefix::*;
|
||||
use super::parse_prefix;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue