about summary refs log tree commit diff
path: root/src/libcore/macros.rs
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-06-06 18:58:35 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-06-06 18:58:35 -0400
commita3b19c8858ec6dd29d71fde7bc2d78b2ac386d34 (patch)
tree64d843ca423a4ad874bf22bbc066994796778701 /src/libcore/macros.rs
parentef72938a8b9171abc5c4b463d3e8345dc0e603a6 (diff)
downloadrust-a3b19c8858ec6dd29d71fde7bc2d78b2ac386d34.tar.gz
rust-a3b19c8858ec6dd29d71fde7bc2d78b2ac386d34.zip
Remove many unneeded feature annotations in the docs
When things get stabilized, they don't always have their docs updated to remove the gate.
Diffstat (limited to 'src/libcore/macros.rs')
-rw-r--r--src/libcore/macros.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs
index 64eb75ea530..b5555fa5119 100644
--- a/src/libcore/macros.rs
+++ b/src/libcore/macros.rs
@@ -173,12 +173,11 @@ macro_rules! try {
 /// # Examples
 ///
 /// ```
-/// # #![allow(unused_must_use)]
 /// use std::io::Write;
 ///
 /// let mut w = Vec::new();
-/// write!(&mut w, "test");
-/// write!(&mut w, "formatted {}", "arguments");
+/// write!(&mut w, "test").unwrap();
+/// write!(&mut w, "formatted {}", "arguments").unwrap();
 /// ```
 #[macro_export]
 macro_rules! write {