Update clippy lint names

type: changed
This commit is contained in:
Casey Rodarmor 2020-09-06 14:22:52 -07:00
parent a2a4ea1430
commit dbb0eac96d
No known key found for this signature in database
GPG Key ID: 556186B153EC6FE0
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ pub(crate) trait Invariant<T: Sized>: Sized {
fn invariant<D: Display>(self, invariant: D) -> Result<T>; fn invariant<D: Display>(self, invariant: D) -> Result<T>;
fn invariant_unwrap<D: Display>(self, invariant: D) -> T { fn invariant_unwrap<D: Display>(self, invariant: D) -> T {
#![allow(clippy::result_unwrap_used)] #![allow(clippy::unwrap_used)]
self.invariant(invariant).unwrap() self.invariant(invariant).unwrap()
} }
} }

View File

@ -9,11 +9,11 @@
clippy::integer_arithmetic, clippy::integer_arithmetic,
clippy::integer_division, clippy::integer_division,
clippy::large_enum_variant, clippy::large_enum_variant,
clippy::map_unwrap_or,
clippy::missing_docs_in_private_items, clippy::missing_docs_in_private_items,
clippy::missing_inline_in_public_items, clippy::missing_inline_in_public_items,
clippy::needless_pass_by_value, clippy::needless_pass_by_value,
clippy::non_ascii_literal, clippy::non_ascii_literal,
clippy::option_map_unwrap_or_else,
clippy::shadow_reuse, clippy::shadow_reuse,
clippy::struct_excessive_bools, clippy::struct_excessive_bools,
clippy::too_many_lines, clippy::too_many_lines,