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
This commit is contained in:
commit
2fe716cee9
@ -35,8 +35,6 @@ declare_clippy_lint! {
|
||||
/// ```
|
||||
/// Use instead:
|
||||
/// ```rust
|
||||
/// #![feature(or_patterns)]
|
||||
///
|
||||
/// fn main() {
|
||||
/// if let Some(0 | 2) = Some(0) {}
|
||||
/// }
|
||||
|
Loading…
x
Reference in New Issue
Block a user