Skip to content

Commit 2fe716c

Browse files
committed
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
2 parents b3b2024 + e9004b0 commit 2fe716c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clippy_lints/src/unnested_or_patterns.rs

-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ declare_clippy_lint! {
3535
/// ```
3636
/// Use instead:
3737
/// ```rust
38-
/// #![feature(or_patterns)]
39-
///
4038
/// fn main() {
4139
/// if let Some(0 | 2) = Some(0) {}
4240
/// }

0 commit comments

Comments
 (0)