diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 363525425902d..3c32b7ca802d7 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -1509,7 +1509,6 @@ pub enum FileType { /// Err(e) => fail!("couldn't read foo.txt: {}", e), /// }; /// -/// println!("path: {}", info.path.display()); /// println!("byte size: {}", info.size); /// # } /// ``` diff --git a/src/libstd/os.rs b/src/libstd/os.rs index b10b74183fea9..f7324dc08b6d5 100644 --- a/src/libstd/os.rs +++ b/src/libstd/os.rs @@ -95,13 +95,12 @@ pub fn getcwd() -> Path { #[cfg(windows)] pub mod win32 { - use iter::Iterator; use libc::types::os::arch::extra::DWORD; use libc; use option::{None, Option, Expect}; use option; use os::TMPBUF_SZ; - use slice::{MutableVector, ImmutableVector, OwnedVector}; + use slice::{MutableVector, ImmutableVector}; use str::{StrSlice, StrAllocating}; use str; use vec::Vec;