about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoshua Liebow-Feeser <joshlf@users.noreply.github.com>2024-03-03 08:04:41 -0800
committerGitHub <noreply@github.com>2024-03-03 08:04:41 -0800
commit00d21c91f0cafc97dabe261f934af7ea0df089b4 (patch)
tree773ebd3d57ed7455c8b6f674af08fc4c56f41d08
parentdb34b082c0895e80bc9eda17a4c859c51e6509bd (diff)
downloadrust-00d21c91f0cafc97dabe261f934af7ea0df089b4.tar.gz
rust-00d21c91f0cafc97dabe261f934af7ea0df089b4.zip
Document AtomicPtr bit validity
-rw-r--r--library/core/src/sync/atomic.rs2
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.