diff options
| author | Max Baumann <max@bmn.dev> | 2022-03-18 01:04:33 +0100 |
|---|---|---|
| committer | Max Baumann <max@bmn.dev> | 2022-03-18 01:04:33 +0100 |
| commit | 05e05eaed7f512bf2a1f7f236fc4b484d4a52aa5 (patch) | |
| tree | d60f4b526d2570557c1e74194a0b9091b032eb3c /clippy_lints/src/lib.register_complexity.rs | |
| parent | 44c62c9aa23e0d8401d9bdc1e2df913cfd035c7e (diff) | |
| download | rust-05e05eaed7f512bf2a1f7f236fc4b484d4a52aa5.tar.gz rust-05e05eaed7f512bf2a1f7f236fc4b484d4a52aa5.zip | |
refactor: rename lint to or_then_unwrap
Diffstat (limited to 'clippy_lints/src/lib.register_complexity.rs')
| -rw-r--r-- | clippy_lints/src/lib.register_complexity.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/lib.register_complexity.rs b/clippy_lints/src/lib.register_complexity.rs index 94ff53c2a60..45ad1520396 100644 --- a/clippy_lints/src/lib.register_complexity.rs +++ b/clippy_lints/src/lib.register_complexity.rs @@ -94,7 +94,7 @@ store.register_group(true, "clippy::complexity", Some("clippy_complexity"), vec! LintId::of(unit_types::UNIT_ARG), LintId::of(unnecessary_sort_by::UNNECESSARY_SORT_BY), LintId::of(unwrap::UNNECESSARY_UNWRAP), - LintId::of(use_unwrap_or::USE_UNWRAP_OR), + LintId::of(or_then_unwrap::OR_THEN_UNWRAP), LintId::of(useless_conversion::USELESS_CONVERSION), LintId::of(zero_div_zero::ZERO_DIVIDED_BY_ZERO), ]) |
