Skip to content

Commit 686975d

Browse files
committed
fix update_lints
1 parent c8341ac commit 686975d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5917,8 +5917,8 @@ Released 2018-09-13
59175917
[`unnecessary_lazy_evaluations`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
59185918
[`unnecessary_literal_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_literal_unwrap
59195919
[`unnecessary_map_on_constructor`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_on_constructor
5920-
[`unnecessary_min_or_max`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_min_or_max
59215920
[`unnecessary_map_or`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
5921+
[`unnecessary_min_or_max`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_min_or_max
59225922
[`unnecessary_mut_passed`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
59235923
[`unnecessary_operation`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation
59245924
[`unnecessary_owned_empty_strings`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_owned_empty_strings

clippy_lints/src/declared_lints.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,9 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[
471471
crate::methods::UNNECESSARY_JOIN_INFO,
472472
crate::methods::UNNECESSARY_LAZY_EVALUATIONS_INFO,
473473
crate::methods::UNNECESSARY_LITERAL_UNWRAP_INFO,
474+
crate::methods::UNNECESSARY_MAP_OR_INFO,
474475
crate::methods::UNNECESSARY_MIN_OR_MAX_INFO,
475476
crate::methods::UNNECESSARY_RESULT_MAP_OR_ELSE_INFO,
476-
crate::methods::UNNECESSARY_MAP_OR_INFO,
477477
crate::methods::UNNECESSARY_SORT_BY_INFO,
478478
crate::methods::UNNECESSARY_TO_OWNED_INFO,
479479
crate::methods::UNWRAP_OR_DEFAULT_INFO,

0 commit comments

Comments
 (0)