We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f020fc0 commit 4768bfcCopy full SHA for 4768bfc
library/core/src/sync/atomic.rs
@@ -4,7 +4,7 @@
4
//! threads, and are the building blocks of other concurrent
5
//! types.
6
//!
7
-//! 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`.
8
//! Basically, creating a *shared reference* to one of the Rust atomic types corresponds to creating
9
//! an `atomic_ref` in C++; the `atomic_ref` is destroyed when the lifetime of the shared reference
10
//! ends. (A Rust atomic type that is exclusively owned or behind a mutable reference does *not*
0 commit comments