diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2014-04-14 21:00:31 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2014-04-14 21:00:31 +0530 |
| commit | 713e87526eac42aa9879e7cfb556ea64d63e7a91 (patch) | |
| tree | c94084ee13a07e5dfa52827517629143571f6bf8 /src/libstd/io/buffered.rs | |
| parent | e2e754810c78a25c902b76c74ba8f04d0dcdc6f1 (diff) | |
| download | rust-713e87526eac42aa9879e7cfb556ea64d63e7a91.tar.gz rust-713e87526eac42aa9879e7cfb556ea64d63e7a91.zip | |
Use new attribute syntax in python files in src/etc too (#13478)
Diffstat (limited to 'src/libstd/io/buffered.rs')
| -rw-r--r-- | src/libstd/io/buffered.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/buffered.rs b/src/libstd/io/buffered.rs index 8fe7f0ca595..e7d0c03551f 100644 --- a/src/libstd/io/buffered.rs +++ b/src/libstd/io/buffered.rs @@ -125,7 +125,7 @@ impl<R: Reader> Reader for BufferedReader<R> { /// # Example /// /// ```rust -/// # #[allow(unused_must_use)]; +/// # #![allow(unused_must_use)] /// use std::io::{BufferedWriter, File}; /// /// let file = File::open(&Path::new("message.txt")); @@ -287,7 +287,7 @@ impl<W: Reader> Reader for InternalBufferedWriter<W> { /// # Example /// /// ```rust -/// # #[allow(unused_must_use)]; +/// # #![allow(unused_must_use)] /// use std::io::{BufferedStream, File}; /// /// let file = File::open(&Path::new("message.txt")); |
