Skip to content

Commit d7220db

Browse files
committed
Run cargo dev update_lints
1 parent a7cc5d4 commit d7220db

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1754,7 +1754,7 @@ Released 2018-09-13
17541754
[`unnecessary_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
17551755
[`unnecessary_filter_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_filter_map
17561756
[`unnecessary_fold`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fold
1757-
[`unnecessary_lazy_eval`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_eval
1757+
[`unnecessary_lazy_evaluation`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluation
17581758
[`unnecessary_mut_passed`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
17591759
[`unnecessary_operation`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation
17601760
[`unnecessary_sort_by`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by

clippy_lints/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
672672
&methods::OK_EXPECT,
673673
&methods::OPTION_AS_REF_DEREF,
674674
&methods::OPTION_MAP_OR_NONE,
675-
&methods::UNNECESSARY_LAZY_EVALUATION,
676675
&methods::OR_FUN_CALL,
677676
&methods::RESULT_MAP_OR_INTO_OPTION,
678677
&methods::SEARCH_IS_SOME,
@@ -686,6 +685,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
686685
&methods::UNINIT_ASSUMED_INIT,
687686
&methods::UNNECESSARY_FILTER_MAP,
688687
&methods::UNNECESSARY_FOLD,
688+
&methods::UNNECESSARY_LAZY_EVALUATION,
689689
&methods::UNWRAP_USED,
690690
&methods::USELESS_ASREF,
691691
&methods::WRONG_PUB_SELF_CONVENTION,
@@ -1542,6 +1542,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15421542
LintId::of(&methods::SINGLE_CHAR_PUSH_STR),
15431543
LintId::of(&methods::STRING_EXTEND_CHARS),
15441544
LintId::of(&methods::UNNECESSARY_FOLD),
1545+
LintId::of(&methods::UNNECESSARY_LAZY_EVALUATION),
15451546
LintId::of(&methods::WRONG_SELF_CONVENTION),
15461547
LintId::of(&misc::TOPLEVEL_REF_ARG),
15471548
LintId::of(&misc::ZERO_PTR),
@@ -1612,7 +1613,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
16121613
LintId::of(&methods::FILTER_NEXT),
16131614
LintId::of(&methods::FLAT_MAP_IDENTITY),
16141615
LintId::of(&methods::OPTION_AS_REF_DEREF),
1615-
LintId::of(&methods::UNNECESSARY_LAZY_EVALUATION),
16161616
LintId::of(&methods::SEARCH_IS_SOME),
16171617
LintId::of(&methods::SKIP_WHILE_NEXT),
16181618
LintId::of(&methods::SUSPICIOUS_MAP),

src/lintlist/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2384,7 +2384,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
23842384
module: "methods",
23852385
},
23862386
Lint {
2387-
name: "unnecessary_lazy_eval",
2387+
name: "unnecessary_lazy_evaluation",
23882388
group: "style",
23892389
desc: "using unnecessary lazy evaluation, which can be replaced with simpler eager evaluation",
23902390
deprecation: None,

0 commit comments

Comments
 (0)