Skip to content

Commit 655ad00

Browse files
committed
docs(FromBitsError): mention the std feature flag
1 parent 687709f commit 655ad00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/fallible.rs

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ for_each_uint! { $ty $hide_docs =>
2222
/// and the [`TryFrom`] implementation`
2323
/// for invalid values.
2424
///
25+
/// Note that the implementation of [`std::error::Error`]
26+
/// for this type is gated on the `std` feature flag.
27+
///
2528
/// ```
2629
/// # use std::convert::TryInto;
2730
/// # use enumflags2::{bitflags, BitFlags};

0 commit comments

Comments
 (0)