diff options
| author | Jacherr <jwc2002@outlook.com> | 2023-11-09 23:00:20 +0000 |
|---|---|---|
| committer | Jacherr <jwc2002@outlook.com> | 2024-11-12 23:00:26 +0000 |
| commit | 89210d7c5afb0e42b0b1e092b388c912761671e5 (patch) | |
| tree | 73b9239dc286ba0238205a3aa7004ac3deb853a1 /clippy_lints/src/declared_lints.rs | |
| parent | f58088b23eee1cb1afefc3207adbd184ee8d8346 (diff) | |
| download | rust-89210d7c5afb0e42b0b1e092b388c912761671e5.tar.gz rust-89210d7c5afb0e42b0b1e092b388c912761671e5.zip | |
new lint `unnecessary_map_or`
Diffstat (limited to 'clippy_lints/src/declared_lints.rs')
| -rw-r--r-- | clippy_lints/src/declared_lints.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/declared_lints.rs b/clippy_lints/src/declared_lints.rs index edb52851e0c..dff60f76b74 100644 --- a/clippy_lints/src/declared_lints.rs +++ b/clippy_lints/src/declared_lints.rs @@ -481,6 +481,7 @@ pub static LINTS: &[&crate::LintInfo] = &[ crate::methods::UNNECESSARY_JOIN_INFO, crate::methods::UNNECESSARY_LAZY_EVALUATIONS_INFO, crate::methods::UNNECESSARY_LITERAL_UNWRAP_INFO, + crate::methods::UNNECESSARY_MAP_OR_INFO, crate::methods::UNNECESSARY_MIN_OR_MAX_INFO, crate::methods::UNNECESSARY_RESULT_MAP_OR_ELSE_INFO, crate::methods::UNNECESSARY_SORT_BY_INFO, |
