Rollup merge of #35588 - Antti:fix-atomics-docs, r=alexcrichton
Use an existing constant name as an example. By reading atomics documentation I tried to use `INIT_ATOMIC_BOOL`, which I couldn't find. Turns out it was renamed to `ATOMIC_BOOL_INIT`.
This commit is contained in:
commit
955458e346
@ -32,7 +32,7 @@
|
||||
//! atomically-reference-counted shared pointer).
|
||||
//!
|
||||
//! Most atomic types may be stored in static variables, initialized using
|
||||
//! the provided static initializers like `INIT_ATOMIC_BOOL`. Atomic statics
|
||||
//! the provided static initializers like `ATOMIC_BOOL_INIT`. Atomic statics
|
||||
//! are often used for lazy global initialization.
|
||||
//!
|
||||
//!
|
||||
|
Loading…
Reference in New Issue
Block a user