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

error: Mark error types as non_exhaustive #141

Closed nicholasbishop closed 3 months ago

nicholasbishop commented 3 months ago

This will allow new error cases to be added in the future without requiring a change to the semver major version.

https://doc.rust-lang.org/reference/attributes/type_system.html#the-non_exhaustive-attribute