]> git.lizzy.rs Git - rust.git/commitdiff
Remove `or_patterns` feature gate in example
authorLéo Lanteri Thauvin <leseulartichaut@gmail.com>
Thu, 29 Jul 2021 12:23:12 +0000 (14:23 +0200)
committerGitHub <noreply@github.com>
Thu, 29 Jul 2021 12:23:12 +0000 (14:23 +0200)
clippy_lints/src/unnested_or_patterns.rs

index 9acfbc994b382f4c886eb27b0eebe5a3b60d7e5d..c8a231341b7e1063828615e67f16678f06c22332 100644 (file)
@@ -35,8 +35,6 @@
     /// ```
     /// Use instead:
     /// ```rust
-    /// #![feature(or_patterns)]
-    ///
     /// fn main() {
     ///     if let Some(0 | 2) = Some(0) {}
     /// }