2 ms·
I wish clippy had a lint against downcasts specifically. I aso like that rust has no “int” type
by baby 5y ago
I wish clippy had a lint against downcasts specifically. I aso like that rust has no “int” type
- jamincan 5y agoIt 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?