Skip to content

Commit e9004b0

Browse files
Remove or_patterns feature gate in example
1 parent b3b2024 commit e9004b0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clippy_lints/src/unnested_or_patterns.rs

Lines changed: 0 additions & 2 deletions
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)