diff --git a/.clippy.toml b/.clippy.toml index 27a1e09..bd8bd64 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -10,4 +10,5 @@ disallowed-methods = [ { path = "std::env::remove_var", reason = "this is not thread-safe and inherently unsafe; see for more" }, { path = "std::env::set_var", reason = "this is not thread-safe and inherently unsafe; see for more" }, ] -disallowed-types = [] +disallowed-types = [ +] diff --git a/Cargo.toml b/Cargo.toml index e329068..72d369a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,6 +57,7 @@ unsafe_op_in_unsafe_fn = "warn" all = "warn" # Downgrade deny-by-default lints pedantic = "warn" as_ptr_cast_mut = "warn" +as_underscore = "warn" default_union_representation = "warn" inline_asm_x86_att_syntax = "warn" trailing_empty_array = "warn"