about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-06-21 16:54:54 -0700
committerGitHub <noreply@github.com>2022-06-21 16:54:54 -0700
commit4768bfc6ef34de2c2591c96286a958bcd5b40c80 (patch)
tree689b359046d96128ba979a98e955d64161f5341a
parentf020fc08a559c145602621cd5ce15e23e40f7f18 (diff)
downloadrust-4768bfc6ef34de2c2591c96286a958bcd5b40c80.tar.gz
rust-4768bfc6ef34de2c2591c96286a958bcd5b40c80.zip
hedge our bets
Co-authored-by: Josh Triplett <josh@joshtriplett.org>
-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 9f4829e37dd..abd739654f9 100644
--- a/library/core/src/sync/atomic.rs
+++ b/library/core/src/sync/atomic.rs
@@ -4,7 +4,7 @@
 //! threads, and are the building blocks of other concurrent
 //! types.
 //!
-//! Rust atomics follow the same rules as [C++20 atomics][cpp], specifically `atomic_ref`.
+//! Rust atomics currently follow the same rules as [C++20 atomics][cpp], specifically `atomic_ref`.
 //! Basically, creating a *shared reference* to one of the Rust atomic types corresponds to creating
 //! an `atomic_ref` in C++; the `atomic_ref` is destroyed when the lifetime of the shared reference
 //! ends. (A Rust atomic type that is exclusively owned or behind a mutable reference does *not*