Fix missed rename

This commit is contained in:
Dániel Buga 2020-08-16 21:33:29 +02:00
parent b7ee8685ac
commit b175642a85
2 changed files with 2 additions and 10 deletions

View file

@ -1,5 +1,5 @@
// run-rustfix
#![warn(clippy::unnecessary_lazy_eval)]
#![warn(clippy::unnecessary_lazy_evaluation)]
#![allow(clippy::redundant_closure)]
#![allow(clippy::bind_instead_of_map)]

View file

@ -144,13 +144,5 @@ error: unnecessary closure used to substitute value for `Result::Err`
LL | let _ = res2.unwrap_or_else(|_| ext_str.some_field);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: Use `unwrap_or` instead: `res2.unwrap_or(ext_str.some_field)`
error: unknown clippy lint: clippy::unnecessary_lazy_eval
--> $DIR/unnecessary_lazy_eval.rs:2:9
|
LL | #![warn(clippy::unnecessary_lazy_eval)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::unnecessary_lazy_evaluation`
|
= note: `-D clippy::unknown-clippy-lints` implied by `-D warnings`
error: aborting due to 25 previous errors
error: aborting due to 24 previous errors