From ba402312fed8134a9919bbb79bcd9978b92e4dee Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 6 Apr 2015 18:52:18 -0700 Subject: std: Deny most warnings in doctests Allow a few specific ones but otherwise this helps ensure that our examples are squeaky clean! Closes #18199 --- src/libcore/macros.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/libcore') diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index c21898d088d..ece419af951 100644 --- a/src/libcore/macros.rs +++ b/src/libcore/macros.rs @@ -229,7 +229,6 @@ macro_rules! writeln { /// Iterators: /// /// ``` -/// # #![feature(core)] /// fn divide_by_three(x: u32) -> u32 { // one of the poorest implementations of x/3 /// for i in 0.. { /// if 3*i < i { panic!("u32 overflow"); } -- cgit 1.4.1-3-g733a5