ruff
ae90eccb
- Fix clippy::cast_lossless (pedantic)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
3 years ago
Fix clippy::cast_lossless (pedantic) “casting `bool` to `u8` is more cleanly stated with `u8::from(_)`” https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless Signed-off-by: Anders Kaseorg <andersk@mit.edu>
References
#869 - Fix most clippy::pedantic lints
Author
andersk
Committer
charliermarsh
Parents
7a61edbe
Loading