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/fmt/mod.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/fmt/mod.rs')
| -rw-r--r-- | src/libstd/fmt/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/fmt/mod.rs b/src/libstd/fmt/mod.rs index 3289475b184..f4f4be7172c 100644 --- a/src/libstd/fmt/mod.rs +++ b/src/libstd/fmt/mod.rs @@ -250,7 +250,7 @@ strings and instead directly write the output. Under the hood, this function is actually invoking the `write` function defined in this module. Example usage is: ```rust -# #[allow(unused_must_use)]; +# #![allow(unused_must_use)] use std::io; let mut w = io::MemWriter::new(); @@ -699,7 +699,7 @@ uniform_fn_call_workaround! { /// # Example /// /// ```rust -/// # #[allow(unused_must_use)]; +/// # #![allow(unused_must_use)] /// use std::fmt; /// use std::io; /// |
