We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81b757c commit dc6b134Copy full SHA for dc6b134
library/core/src/sync/atomic.rs
@@ -28,7 +28,8 @@
28
//! Basically, creating a *shared reference* to one of the Rust atomic types corresponds to creating
29
//! an `atomic_ref` in C++; the `atomic_ref` is destroyed when the lifetime of the shared reference
30
//! ends. (A Rust atomic type that is exclusively owned or behind a mutable reference does *not*
31
-//! correspond to an "atomic object" in C++, since it can be accessed via non-atomic operations.)
+//! correspond to an “atomic object” in C++, since the underlying primitive can be mutably accessed
32
+//! with `get_mut to perform non-atomic operations.)
33
//!
34
//! [cpp]: https://en.cppreference.com/w/cpp/atomic
35
0 commit comments