Rollup merge of #55269 - matthiaskrgr:typos_oct, r=zackmdavis
fix typos in various places
This commit is contained in:
commit
4f14bfdc73
43 changed files with 77 additions and 77 deletions
|
@ -97,7 +97,7 @@
|
|||
//! - A **multiprocessor** system executing multiple hardware threads
|
||||
//! at the same time: In multi-threaded scenarios, you can use two
|
||||
//! kinds of primitives to deal with synchronization:
|
||||
//! - [memory fences] to ensure memory accesses are made visibile to
|
||||
//! - [memory fences] to ensure memory accesses are made visible to
|
||||
//! other CPUs in the right order.
|
||||
//! - [atomic operations] to ensure simultaneous access to the same
|
||||
//! memory location doesn't lead to undefined behavior.
|
||||
|
|
|
@ -290,8 +290,8 @@ impl Once {
|
|||
}
|
||||
|
||||
/// Returns true if some `call_once` call has completed
|
||||
/// successfuly. Specifically, `is_completed` will return false in
|
||||
/// the following situtations:
|
||||
/// successfully. Specifically, `is_completed` will return false in
|
||||
/// the following situations:
|
||||
/// * `call_once` was not called at all,
|
||||
/// * `call_once` was called, but has not yet completed,
|
||||
/// * the `Once` instance is poisoned
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue