diff --git a/src/invariant.rs b/src/invariant.rs index 817972f..c391e8f 100644 --- a/src/invariant.rs +++ b/src/invariant.rs @@ -4,7 +4,7 @@ pub(crate) trait Invariant: Sized { fn invariant(self, invariant: D) -> Result; fn invariant_unwrap(self, invariant: D) -> T { - #![allow(clippy::result_unwrap_used)] + #![allow(clippy::unwrap_used)] self.invariant(invariant).unwrap() } } diff --git a/src/lib.rs b/src/lib.rs index 26d96a4..b95ad5c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,11 +9,11 @@ clippy::integer_arithmetic, clippy::integer_division, clippy::large_enum_variant, + clippy::map_unwrap_or, clippy::missing_docs_in_private_items, clippy::missing_inline_in_public_items, clippy::needless_pass_by_value, clippy::non_ascii_literal, - clippy::option_map_unwrap_or_else, clippy::shadow_reuse, clippy::struct_excessive_bools, clippy::too_many_lines,