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:
bors 2021-07-29 12:41:52 +00:00
commit 2fe716cee9

View file

@ -35,8 +35,6 @@ declare_clippy_lint! {
/// ```
/// Use instead:
/// ```rust
/// #![feature(or_patterns)]
///
/// fn main() {
/// if let Some(0 | 2) = Some(0) {}
/// }