Closed lucassardois closed 3 years ago
While browsing the source code I found this: https://docs.rs/battery/0.7.5/src/battery/types/state.rs.html#10-20
And more precisely this:
// Awaiting for https://github.com/rust-lang/rust/issues/44109 #[doc(hidden)] __Nonexhaustive,
It seems that the referenced issue has been closed. Is the __Nonexhaustive field still needed?
#[non_exhaustive] attribute appeared in Rust 1.40.0 first, while this crate support Rust 1.36.0+ right now, therefore it is impossible to use it yet.
#[non_exhaustive]
While browsing the source code I found this: https://docs.rs/battery/0.7.5/src/battery/types/state.rs.html#10-20
And more precisely this:
It seems that the referenced issue has been closed. Is the __Nonexhaustive field still needed?