diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-04-06 18:52:18 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-04-07 17:54:34 -0700 |
| commit | ba402312fed8134a9919bbb79bcd9978b92e4dee (patch) | |
| tree | 632e99d9adc3ca92950a86f1b4ba97426057bfce /src/libcore | |
| parent | 179719d45023e549a62ec7a584d554408c6d241d (diff) | |
| download | rust-ba402312fed8134a9919bbb79bcd9978b92e4dee.tar.gz rust-ba402312fed8134a9919bbb79bcd9978b92e4dee.zip | |
std: Deny most warnings in doctests
Allow a few specific ones but otherwise this helps ensure that our examples are squeaky clean! Closes #18199
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/macros.rs | 1 |
1 files changed, 0 insertions, 1 deletions
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"); } |
