From a3b19c8858ec6dd29d71fde7bc2d78b2ac386d34 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Sat, 6 Jun 2015 18:58:35 -0400 Subject: Remove many unneeded feature annotations in the docs When things get stabilized, they don't always have their docs updated to remove the gate. --- src/libcore/macros.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/libcore/macros.rs') 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 { -- cgit 1.4.1-3-g733a5