Clarify bit validity for AtomicBool

This commit is contained in:
Joshua Liebow-Feeser 2024-03-03 07:57:35 -08:00 committed by GitHub
parent 59a3a5dba3
commit db34b082c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -243,7 +243,7 @@ const EMULATE_ATOMIC_BOOL: bool =
/// A boolean type which can be safely shared between threads.
///
/// This type has the same in-memory representation as a [`bool`].
/// This type has the same memory layout and bit validity as a [`bool`].
///
/// **Note**: This type is only available on platforms that support atomic
/// loads and stores of `u8`.