You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lint link.
Since there are plenty of as statments I think distinguishing between safe(lossless) conversion and coercion would make the code more readable.
This might be useful; thanks for letting us know about it! That said, there are necessarily a lot of [_ as usize] casts and this might make that pretty noisy. We'll definitely think about it, though, as I agree it makes things more readable in a lot of cases.
This might be useful; thanks for letting us know about it! That said, there are necessarily a lot of [_ as usize] casts and this might make that pretty noisy. We'll definitely think about it, though, as I agree it makes things more readable in a lot of cases.
I tested it and found [_ as usize] will not be affected mentioned in the link above, so apply it will not mess that up.
Lint link.
Since there are plenty of
as
statments I think distinguishing between safe(lossless) conversion and coercion would make the code more readable.Clippy should fix most of them:
Left case(s) by clippy: link
The text was updated successfully, but these errors were encountered: