diff options
| author | bors <bors@rust-lang.org> | 2021-07-29 12:41:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-07-29 12:41:52 +0000 |
| commit | 2fe716cee9c43a966a82932d33f8a35c85d70acd (patch) | |
| tree | 7595c30969b30aa1c4f23845111825bb2f65bb18 | |
| parent | b3b2024d1e2d0286e73a7e61bf8776aa2f2aed5d (diff) | |
| parent | e9004b063f9d6e3b0d789c260b096a8a24a1c935 (diff) | |
| download | rust-2fe716cee9c43a966a82932d33f8a35c85d70acd.tar.gz rust-2fe716cee9c43a966a82932d33f8a35c85d70acd.zip | |
Auto merge of #7507 - LeSeulArtichaut:patch-1, r=flip1995
Remove `or_patterns` feature gate in example changelog: removed `or_patterns` feature gate in the code example for the [`unnested_or_patterns`] lint
| -rw-r--r-- | clippy_lints/src/unnested_or_patterns.rs | 2 |
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) {} /// } |
