Update clippy lint names
type: changed
This commit is contained in:
parent
a2a4ea1430
commit
dbb0eac96d
|
@ -4,7 +4,7 @@ pub(crate) trait Invariant<T: Sized>: Sized {
|
|||
fn invariant<D: Display>(self, invariant: D) -> Result<T>;
|
||||
|
||||
fn invariant_unwrap<D: Display>(self, invariant: D) -> T {
|
||||
#![allow(clippy::result_unwrap_used)]
|
||||
#![allow(clippy::unwrap_used)]
|
||||
self.invariant(invariant).unwrap()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user