about summary refs log tree commit diff
path: root/clippy_lints
diff options
context:
space:
mode:
authorLéo Lanteri Thauvin <leseulartichaut@gmail.com>2021-07-29 14:23:12 +0200
committerGitHub <noreply@github.com>2021-07-29 14:23:12 +0200
commite9004b063f9d6e3b0d789c260b096a8a24a1c935 (patch)
tree7595c30969b30aa1c4f23845111825bb2f65bb18 /clippy_lints
parentb3b2024d1e2d0286e73a7e61bf8776aa2f2aed5d (diff)
downloadrust-e9004b063f9d6e3b0d789c260b096a8a24a1c935.tar.gz
rust-e9004b063f9d6e3b0d789c260b096a8a24a1c935.zip
Remove `or_patterns` feature gate in example
Diffstat (limited to 'clippy_lints')
-rw-r--r--clippy_lints/src/unnested_or_patterns.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/clippy_lints/src/unnested_or_patterns.rs b/clippy_lints/src/unnested_or_patterns.rs
index 9acfbc994b3..c8a231341b7 100644
--- a/clippy_lints/src/unnested_or_patterns.rs
+++ b/clippy_lints/src/unnested_or_patterns.rs
@@ -35,8 +35,6 @@ declare_clippy_lint! {
     /// ```
     /// Use instead:
     /// ```rust
-    /// #![feature(or_patterns)]
-    ///
     /// fn main() {
     ///     if let Some(0 | 2) = Some(0) {}
     /// }