File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 memory layout and bit validity as a [`bool`].
246+ /// This type has the same size, alignment, 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`.
@@ -272,7 +272,7 @@ unsafe impl Sync for AtomicBool {}
272272
273273/// A raw pointer type which can be safely shared between threads.
274274///
275- /// This type has the same memory layout and bit validity as a `*mut T`.
275+ /// This type has the same size, alignment, and bit validity as a `*mut T`.
276276///
277277/// **Note**: This type is only available on platforms that support atomic
278278/// loads and stores of pointers. Its size depends on the target pointer's size.
You can’t perform that action at this time.
0 commit comments