Clippy cyclomatic complexity lint has been renamed

This commit is contained in:
David Tolnay
2019-03-09 16:36:51 -08:00
parent ac0d8f61c5
commit 295730ba1e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
#![cfg_attr( #![cfg_attr(
feature = "cargo-clippy", feature = "cargo-clippy",
allow( allow(
cyclomatic_complexity, cognitive_complexity,
enum_variant_names, enum_variant_names,
needless_pass_by_value, needless_pass_by_value,
redundant_field_names, redundant_field_names,
+1 -1
View File
@@ -3,7 +3,7 @@
#![cfg_attr( #![cfg_attr(
feature = "cargo-clippy", feature = "cargo-clippy",
allow( allow(
cyclomatic_complexity, cognitive_complexity,
redundant_field_names, redundant_field_names,
trivially_copy_pass_by_ref trivially_copy_pass_by_ref
) )