Skip to content

Commit

Permalink
Add (commented) clippy lints to detect as casts and arithmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbb committed Jul 21, 2024
1 parent 419f051 commit 19c51cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ explicit_auto_deref = "allow"
manual-unwrap-or-default = "allow"

# alloc_instead_of_core = "warn"
# as_conversions = "warn"
# arithmetic_side_effects = "warn"
# Checks for usage of `cloned()` on an `Iterator` or `Option` where `copied()` could be used instead.
cloned_instead_of_copied = "warn"
# Checks for literal calls to `Default::default()`.
Expand Down

0 comments on commit 19c51cd

Please sign in to comment.