File tree 1 file changed +2
-2
lines changed
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 =
243
243
244
244
/// A boolean type which can be safely shared between threads.
245
245
///
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`].
247
247
///
248
248
/// **Note**: This type is only available on platforms that support atomic
249
249
/// loads and stores of `u8`.
@@ -272,7 +272,7 @@ unsafe impl Sync for AtomicBool {}
272
272
273
273
/// A raw pointer type which can be safely shared between threads.
274
274
///
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`.
276
276
///
277
277
/// **Note**: This type is only available on platforms that support atomic
278
278
/// 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