Skip to content

Commit 3c4192f

Browse files
committed
fix: ran update_lints
1 parent 05e05ea commit 3c4192f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3366,6 +3366,7 @@ Released 2018-09-13
33663366
[`option_map_unit_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_map_unit_fn
33673367
[`option_option`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_option
33683368
[`or_fun_call`]: https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call
3369+
[`or_then_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#or_then_unwrap
33693370
[`out_of_bounds_indexing`]: https://rust-lang.github.io/rust-clippy/master/index.html#out_of_bounds_indexing
33703371
[`overflow_check_conditional`]: https://rust-lang.github.io/rust-clippy/master/index.html#overflow_check_conditional
33713372
[`panic`]: https://rust-lang.github.io/rust-clippy/master/index.html#panic
@@ -3538,7 +3539,6 @@ Released 2018-09-13
35383539
[`upper_case_acronyms`]: https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms
35393540
[`use_debug`]: https://rust-lang.github.io/rust-clippy/master/index.html#use_debug
35403541
[`use_self`]: https://rust-lang.github.io/rust-clippy/master/index.html#use_self
3541-
[`or_then_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#or_then_unwrap
35423542
[`used_underscore_binding`]: https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
35433543
[`useless_asref`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_asref
35443544
[`useless_attribute`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_attribute

clippy_lints/src/lib.register_all.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ store.register_group(true, "clippy::all", Some("clippy_all"), vec![
238238
LintId::of(only_used_in_recursion::ONLY_USED_IN_RECURSION),
239239
LintId::of(open_options::NONSENSICAL_OPEN_OPTIONS),
240240
LintId::of(option_env_unwrap::OPTION_ENV_UNWRAP),
241+
LintId::of(or_then_unwrap::OR_THEN_UNWRAP),
241242
LintId::of(overflow_check_conditional::OVERFLOW_CHECK_CONDITIONAL),
242243
LintId::of(partialeq_ne_impl::PARTIALEQ_NE_IMPL),
243244
LintId::of(precedence::PRECEDENCE),
@@ -310,7 +311,6 @@ store.register_group(true, "clippy::all", Some("clippy_all"), vec![
310311
LintId::of(unwrap::PANICKING_UNWRAP),
311312
LintId::of(unwrap::UNNECESSARY_UNWRAP),
312313
LintId::of(upper_case_acronyms::UPPER_CASE_ACRONYMS),
313-
LintId::of(or_then_unwrap::OR_THEN_UNWRAP),
314314
LintId::of(useless_conversion::USELESS_CONVERSION),
315315
LintId::of(vec::USELESS_VEC),
316316
LintId::of(vec_init_then_push::VEC_INIT_THEN_PUSH),

clippy_lints/src/lib.register_complexity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ store.register_group(true, "clippy::complexity", Some("clippy_complexity"), vec!
6666
LintId::of(no_effect::NO_EFFECT),
6767
LintId::of(no_effect::UNNECESSARY_OPERATION),
6868
LintId::of(only_used_in_recursion::ONLY_USED_IN_RECURSION),
69+
LintId::of(or_then_unwrap::OR_THEN_UNWRAP),
6970
LintId::of(overflow_check_conditional::OVERFLOW_CHECK_CONDITIONAL),
7071
LintId::of(partialeq_ne_impl::PARTIALEQ_NE_IMPL),
7172
LintId::of(precedence::PRECEDENCE),
@@ -94,7 +95,6 @@ store.register_group(true, "clippy::complexity", Some("clippy_complexity"), vec!
9495
LintId::of(unit_types::UNIT_ARG),
9596
LintId::of(unnecessary_sort_by::UNNECESSARY_SORT_BY),
9697
LintId::of(unwrap::UNNECESSARY_UNWRAP),
97-
LintId::of(or_then_unwrap::OR_THEN_UNWRAP),
9898
LintId::of(useless_conversion::USELESS_CONVERSION),
9999
LintId::of(zero_div_zero::ZERO_DIVIDED_BY_ZERO),
100100
])

clippy_lints/src/lib.register_lints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ store.register_lints(&[
404404
open_options::NONSENSICAL_OPEN_OPTIONS,
405405
option_env_unwrap::OPTION_ENV_UNWRAP,
406406
option_if_let_else::OPTION_IF_LET_ELSE,
407+
or_then_unwrap::OR_THEN_UNWRAP,
407408
overflow_check_conditional::OVERFLOW_CHECK_CONDITIONAL,
408409
panic_in_result_fn::PANIC_IN_RESULT_FN,
409410
panic_unimplemented::PANIC,
@@ -528,7 +529,6 @@ store.register_lints(&[
528529
unwrap_in_result::UNWRAP_IN_RESULT,
529530
upper_case_acronyms::UPPER_CASE_ACRONYMS,
530531
use_self::USE_SELF,
531-
or_then_unwrap::OR_THEN_UNWRAP,
532532
useless_conversion::USELESS_CONVERSION,
533533
vec::USELESS_VEC,
534534
vec_init_then_push::VEC_INIT_THEN_PUSH,

0 commit comments

Comments
 (0)