We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dca6d7 commit 0c70b0fCopy full SHA for 0c70b0f
src/lib.rs
@@ -475,8 +475,7 @@ where
475
///
476
/// # Safety
477
478
- /// The argument must not have set bits at positions not corresponding to
479
- /// any flag.
+ /// All bits set in `val` must correspond to a value of the enum.
480
#[must_use]
481
#[inline(always)]
482
pub unsafe fn from_bits_unchecked(val: T::Numeric) -> Self {
@@ -728,8 +727,7 @@ for_each_uint! { $ty $hide_docs =>
728
727
729
730
731
732
733
734
735
$(#[$hide_docs])?
0 commit comments