From 4768bfc6ef34de2c2591c96286a958bcd5b40c80 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 21 Jun 2022 16:54:54 -0700 Subject: [PATCH] hedge our bets Co-authored-by: Josh Triplett --- library/core/src/sync/atomic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/sync/atomic.rs b/library/core/src/sync/atomic.rs index 9f4829e37ddd..abd739654f95 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*