mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Update library/core/src/sync/atomic.rs
Co-authored-by: Taiki Endo <te316e89@gmail.com>
This commit is contained in:
parent
c50804cfdd
commit
a6e3e02d70
@ -272,7 +272,7 @@ unsafe impl Sync for AtomicBool {}
|
||||
|
||||
/// A raw pointer type which can be safely shared between threads.
|
||||
///
|
||||
/// This type has the same size, alignment, and bit validity as a `*mut T`.
|
||||
/// This type has the same size and bit validity as a `*mut T`.
|
||||
///
|
||||
/// **Note**: This type is only available on platforms that support atomic
|
||||
/// loads and stores of pointers. Its size depends on the target pointer's size.
|
||||
|
Loading…
Reference in New Issue
Block a user