Skip to content

Commit 4768bfc

Browse files
hedge our bets
Co-authored-by: Josh Triplett <[email protected]>
1 parent f020fc0 commit 4768bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/sync/atomic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! threads, and are the building blocks of other concurrent
55
//! types.
66
//!
7-
//! Rust atomics follow the same rules as [C++20 atomics][cpp], specifically `atomic_ref`.
7+
//! Rust atomics currently follow the same rules as [C++20 atomics][cpp], specifically `atomic_ref`.
88
//! Basically, creating a *shared reference* to one of the Rust atomic types corresponds to creating
99
//! an `atomic_ref` in C++; the `atomic_ref` is destroyed when the lifetime of the shared reference
1010
//! ends. (A Rust atomic type that is exclusively owned or behind a mutable reference does *not*

0 commit comments

Comments
 (0)