diff options
| author | Joshua Liebow-Feeser <joshlf@users.noreply.github.com> | 2024-03-03 08:04:41 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-03 08:04:41 -0800 |
| commit | 00d21c91f0cafc97dabe261f934af7ea0df089b4 (patch) | |
| tree | 773ebd3d57ed7455c8b6f674af08fc4c56f41d08 | |
| parent | db34b082c0895e80bc9eda17a4c859c51e6509bd (diff) | |
| download | rust-00d21c91f0cafc97dabe261f934af7ea0df089b4.tar.gz rust-00d21c91f0cafc97dabe261f934af7ea0df089b4.zip | |
Document AtomicPtr bit validity
| -rw-r--r-- | library/core/src/sync/atomic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/sync/atomic.rs b/library/core/src/sync/atomic.rs index 5947f6569a7..4eaacdfe794 100644 --- a/library/core/src/sync/atomic.rs +++ b/library/core/src/sync/atomic.rs @@ -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 in-memory representation as a `*mut T`. +/// This type has the same memory layout 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. |
