]> git.lizzy.rs Git - rust.git/commitdiff
Remove uses of option_filter feature
authorThayne McCombs <astrothayne@gmail.com>
Thu, 5 Apr 2018 06:02:33 +0000 (00:02 -0600)
committerThayne McCombs <astrothayne@gmail.com>
Thu, 5 Apr 2018 06:02:33 +0000 (00:02 -0600)
src/libcore/option.rs
src/librustc_typeck/lib.rs

index 002fe68ad9b4c13dabed87c7a4d6aa19d2302785..0dfdabee03182e18ab9553b0473a84eb27962f03 100644 (file)
@@ -628,8 +628,6 @@ pub fn and_then<U, F: FnOnce(T) -> Option<U>>(self, f: F) -> Option<U> {
     /// # Examples
     ///
     /// ```rust
-    /// #![feature(option_filter)]
-    ///
     /// fn is_even(n: &i32) -> bool {
     ///     n % 2 == 0
     /// }
index 44ecb32a0bf9b1fcbb453a191a962beb9b5e1992..b1431f44cda0eda073f99ceeaa76cb225d44643c 100644 (file)
@@ -81,7 +81,6 @@
 #![feature(from_ref)]
 #![cfg_attr(stage0, feature(match_default_bindings))]
 #![feature(exhaustive_patterns)]
-#![feature(option_filter)]
 #![feature(quote)]
 #![feature(refcell_replace_swap)]
 #![feature(rustc_diagnostic_macros)]