std: Remove AsSlice/Str from the prelude

This commit is contained in:
Alex Crichton 2015-04-10 13:46:17 -07:00
parent 33fb5bb004
commit 9cd8a5a45b
2 changed files with 1 additions and 4 deletions

View File

@ -35,7 +35,7 @@ pub fn realpath(original: &Path) -> io::Result<PathBuf> {
if ret == 0 {
return Err(io::Error::last_os_error())
}
assert!(ret as usize < v.capacity());
assert!((ret as usize) < v.capacity());
v.set_len(ret);
}
Ok(PathBuf::from(OsString::from_wide(&v)))

View File

@ -47,6 +47,3 @@
#[doc(no_inline)] pub use string::{String, ToString};
#[stable(feature = "rust1", since = "1.0.0")]
#[doc(no_inline)] pub use vec::Vec;
#[allow(deprecated)] pub use slice::AsSlice;
#[allow(deprecated)] pub use str::Str;