nicholasbishop / ext4-view-rs

Rust library for reading ext2/ext4 filesystems
https://crates.io/crates/ext4-view
Apache License 2.0
8 stars 2 forks source link

Enable clippy::as_conversions lint #110

Closed nicholasbishop closed 3 months ago

nicholasbishop commented 3 months ago

This warns for any use of as. In general it's best to avoid as because it's a big hammer that can implictly do all kinds of conversions.

Also fix the one place where as is currently used.