mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 16:39:26 +00:00
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
1 changed files with 0 additions and 2 deletions
|
@ -35,8 +35,6 @@ declare_clippy_lint! {
|
||||||
/// ```
|
/// ```
|
||||||
/// Use instead:
|
/// Use instead:
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// #![feature(or_patterns)]
|
|
||||||
///
|
|
||||||
/// fn main() {
|
/// fn main() {
|
||||||
/// if let Some(0 | 2) = Some(0) {}
|
/// if let Some(0 | 2) = Some(0) {}
|
||||||
/// }
|
/// }
|
||||||
|
|
Loading…
Reference in a new issue