Skip to content

Commit

Permalink
Apply clippy::as_underscore lint
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jun 21, 2024
1 parent 13702b4 commit c456978
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .clippy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ disallowed-methods = [
{ path = "std::env::remove_var", reason = "this is not thread-safe and inherently unsafe; see <https://github.com/rust-lang/rust/issues/27970> for more" },
{ path = "std::env::set_var", reason = "this is not thread-safe and inherently unsafe; see <https://github.com/rust-lang/rust/issues/27970> for more" },
]
disallowed-types = []
disallowed-types = [
]
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ unreachable_pub = "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"
Expand Down

0 comments on commit c456978

Please sign in to comment.