3 ms·
You can enable Clippy lints for `as` casting, and I think some of the common "throwing data away" ones are caught in the standard configuration or just pedantic
by Vecr 5y ago
You can enable Clippy lints for `as` casting, and I think some of the common "throwing data away" ones are caught in the standard configuration or just pedantic. https://rust-lang.github.io/rust-clippy/master/index.html#as_conversions https://rust-lang.github.io/rust-clippy/master/index.html#as...