mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 14:38:46 +00:00
new restriction lint: `integer_division_remainder_used` Fixes https://github.com/rust-lang/rust-clippy/issues/12391 Introduces a restriction lint which disallows the use of `/` and `%` operators on any `Int` or `Uint` types (i.e., any that use the default `Div` or `Rem` trait implementations). Custom implementations of these traits are ignored. ---- changelog: Add new restriction lint [`integer_division_remainder_used`] |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |