4 ms·
It does, you just need to enable it. There are a bunch of other cast-related lints as well that are allow by default. https://rust-lang.github.io/rust-clippy/v
by jamincan 5y ago
It does, you just need to enable it. There are a bunch of other cast-related lints as well that are allow by default.
https://rust-lang.github.io/rust-clippy/v0.0.212/#cast_possible_truncation https://rust-lang.github.io/rust-clippy/v0.0.212/#cast_possi...
- baby 5y agoOh wow, didn’t know about that one. Is this new?