diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-10-16 08:02:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-16 08:02:28 +0200 |
| commit | 8e2047042581da8ee5ab8c7ad5780c1d690eecea (patch) | |
| tree | a48662f4f9bb7838999ffaa5042f953bd588447b | |
| parent | 29f05c62207c58a2dd11d10220175516a232b6f8 (diff) | |
| parent | d3bddf3ea1b1717c8dc61056588162e4964ce3c9 (diff) | |
| download | rust-8e2047042581da8ee5ab8c7ad5780c1d690eecea.tar.gz rust-8e2047042581da8ee5ab8c7ad5780c1d690eecea.zip | |
Rollup merge of #89925 - gilescope:update-docs-atomic-usage, r=m-ou-se
updating docs to mention usage of AtomicBool Mouse mentioned we should point out that atomic bool is used by the std lib these days. ( https://github.com/m-ou-se/getrandom/pull/1 )
| -rw-r--r-- | library/core/src/sync/atomic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/sync/atomic.rs b/library/core/src/sync/atomic.rs index b07752116e5..1247f330875 100644 --- a/library/core/src/sync/atomic.rs +++ b/library/core/src/sync/atomic.rs @@ -62,7 +62,7 @@ //! some atomic operations. Maximally portable code will want to be careful //! about which atomic types are used. `AtomicUsize` and `AtomicIsize` are //! generally the most portable, but even then they're not available everywhere. -//! For reference, the `std` library requires pointer-sized atomics, although +//! For reference, the `std` library requires `AtomicBool`s and pointer-sized atomics, although //! `core` does not. //! //! Currently you'll need to use `#[cfg(target_arch)]` primarily to |
