Skip to content

Commit fcad270

Browse files
committed
fix update_lints
1 parent 91e0e31 commit fcad270

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6071,8 +6071,8 @@ Released 2018-09-13
60716071
[`unnecessary_literal_bound`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_literal_bound
60726072
[`unnecessary_literal_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_literal_unwrap
60736073
[`unnecessary_map_on_constructor`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_on_constructor
6074-
[`unnecessary_min_or_max`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_min_or_max
60756074
[`unnecessary_map_or`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
6075+
[`unnecessary_min_or_max`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_min_or_max
60766076
[`unnecessary_mut_passed`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
60776077
[`unnecessary_operation`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation
60786078
[`unnecessary_owned_empty_strings`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_owned_empty_strings

clippy_lints/src/declared_lints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,9 +481,9 @@ pub static LINTS: &[&crate::LintInfo] = &[
481481
crate::methods::UNNECESSARY_JOIN_INFO,
482482
crate::methods::UNNECESSARY_LAZY_EVALUATIONS_INFO,
483483
crate::methods::UNNECESSARY_LITERAL_UNWRAP_INFO,
484+
crate::methods::UNNECESSARY_MAP_OR_INFO,
484485
crate::methods::UNNECESSARY_MIN_OR_MAX_INFO,
485486
crate::methods::UNNECESSARY_RESULT_MAP_OR_ELSE_INFO,
486-
crate::methods::UNNECESSARY_MAP_OR_INFO,
487487
crate::methods::UNNECESSARY_SORT_BY_INFO,
488488
crate::methods::UNNECESSARY_TO_OWNED_INFO,
489489
crate::methods::UNWRAP_OR_DEFAULT_INFO,

0 commit comments

Comments
 (0)