diff --git a/rust-tools/src/cfg/you_rust.rs b/rust-tools/src/cfg/you_rust.rs index dde451e..247ff57 100644 --- a/rust-tools/src/cfg/you_rust.rs +++ b/rust-tools/src/cfg/you_rust.rs @@ -11,7 +11,6 @@ const CLIPPY_FLAGS: &[&str] = &[ "-Aclippy::copy_iterator", "-Aclippy::decimal_literal_representation", "-Aclippy::default_numeric_fallback", - "-Aclippy::else_if_without_else", "-Aclippy::enum_variant_names", "-Aclippy::error_impl_error", "-Aclippy::exhaustive_enums", @@ -37,6 +36,7 @@ const CLIPPY_FLAGS: &[&str] = &[ "-Aclippy::multiple_inherent_impl", "-Aclippy::must_use_candidate", "-Aclippy::needless_doctest_main", + "-Aclippy::needless_else", "-Aclippy::pattern_type_mismatch", "-Aclippy::pub_use", "-Aclippy::pub_with_shorthand",