Skip to content

Commit db34b08

Browse files
authored
Clarify bit validity for AtomicBool
1 parent 59a3a5d commit db34b08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/sync/atomic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ const EMULATE_ATOMIC_BOOL: bool =
243243

244244
/// A boolean type which can be safely shared between threads.
245245
///
246-
/// This type has the same in-memory representation as a [`bool`].
246+
/// This type has the same memory layout and bit validity as a [`bool`].
247247
///
248248
/// **Note**: This type is only available on platforms that support atomic
249249
/// loads and stores of `u8`.

0 commit comments

Comments
 (0)