Skip to content

Commit

Permalink
Fix documentation tests in windows::fs
Browse files Browse the repository at this point in the history
  • Loading branch information
randomPoison committed May 7, 2017
1 parent 76128b3 commit c350bc1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/libstd/sys/windows/ext/fs.rs
Expand Up @@ -42,7 +42,6 @@ pub trait FileExt {
///
/// ```
/// use std::io;
/// use std::io::prelude::*;
/// use std::fs::File;
/// use std::os::windows::prelude::*;
///
Expand Down Expand Up @@ -77,7 +76,6 @@ pub trait FileExt {
/// # Examples
///
/// ```
/// use std::io::prelude::*;
/// use std::fs::File;
/// use std::os::windows::prelude::*;
///
Expand All @@ -86,7 +84,7 @@ pub trait FileExt {
///
/// // Write a byte string starting 72 bytes from
/// // the start of the file.
/// buffer.write(b"some bytes", offset)?;
/// buffer.seek_write(b"some bytes", 72)?;
/// # Ok(())
/// # }
/// ```
Expand Down

0 comments on commit c350bc1

Please sign in to comment.