We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb231fe commit 98a85efCopy full SHA for 98a85ef
src/librustc_back/fs.rs
@@ -35,7 +35,7 @@ pub fn realpath(original: &Path) -> io::Result<PathBuf> {
35
if ret == 0 {
36
return Err(io::Error::last_os_error())
37
}
38
- assert!(ret as usize < v.capacity());
+ assert!((ret as usize) < v.capacity());
39
v.set_len(ret);
40
41
Ok(PathBuf::from(OsString::from_wide(&v)))
src/libstd/prelude/v1.rs
@@ -47,6 +47,3 @@
47
#[doc(no_inline)] pub use string::{String, ToString};
48
#[stable(feature = "rust1", since = "1.0.0")]
49
#[doc(no_inline)] pub use vec::Vec;
50
-
51
-#[allow(deprecated)] pub use slice::AsSlice;
52
-#[allow(deprecated)] pub use str::Str;
0 commit comments