Skip to content

Commit 8398e8e

Browse files
committed
doc: "considered to be impossible" is not good phrasing
1 parent 02bbb12 commit 8398e8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,8 @@ pub use crate::fallible::FromBitsError;
349349
/// ```
350350
///
351351
/// The types substituted for `T` and `N` must always match, creating a
352-
/// `BitFlags` value where that isn't the case is considered to be impossible
353-
/// without unsafe code.
352+
/// `BitFlags` value where that isn't the case is only possible with
353+
/// incorrect unsafe code.
354354
#[derive(Copy, Clone, Eq)]
355355
#[repr(transparent)]
356356
pub struct BitFlags<T, N = <T as _internal::RawBitFlags>::Numeric> {

0 commit comments

Comments
 (0)