From 6abfac083feafc73e5d736177755cce3bfb7153f Mon Sep 17 00:00:00 2001 From: Aaron Turon Date: Tue, 30 Dec 2014 10:51:18 -0800 Subject: Fallout from stabilization --- src/libstd/path/posix.rs | 2 +- src/libstd/path/windows.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libstd/path') diff --git a/src/libstd/path/posix.rs b/src/libstd/path/posix.rs index 41cbaa2b807..bd4031e6230 100644 --- a/src/libstd/path/posix.rs +++ b/src/libstd/path/posix.rs @@ -29,7 +29,7 @@ use vec::Vec; use super::{BytesContainer, GenericPath, GenericPathUnsafe}; /// Iterator that yields successive components of a Path as &[u8] -pub type Components<'a> = Splits<'a, u8, fn(&u8) -> bool>; +pub type Components<'a> = Split<'a, u8, fn(&u8) -> bool>; /// Iterator that yields successive components of a Path as Option<&str> pub type StrComponents<'a> = diff --git a/src/libstd/path/windows.rs b/src/libstd/path/windows.rs index 165d2c32416..751ed4b70fb 100644 --- a/src/libstd/path/windows.rs +++ b/src/libstd/path/windows.rs @@ -25,8 +25,8 @@ use iter::{Iterator, IteratorExt, Map, repeat}; use mem; use option::Option; use option::Option::{Some, None}; -use slice::{AsSlice, SliceExt, SliceConcatExt}; -use str::{CharSplits, FromStr, Str, StrAllocating, StrPrelude}; +use slice::{SliceExt, SliceConcatExt}; +use str::{SplitTerminator, FromStr, StrExt}; use string::{String, ToString}; use unicode::char::UnicodeChar; use vec::Vec; -- cgit 1.4.1-3-g733a5