diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2018-10-22 18:21:55 +0200 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2018-10-23 15:56:25 +0200 |
| commit | 4972beaf65cad992a6ed791fdefe90e46c09aa7b (patch) | |
| tree | a6589cb893f6d436e4e2b0aef4fa48bbb3321335 /src/libstd/sync | |
| parent | d74b40205f7ecf30c680dc77e62cf4f127f2db09 (diff) | |
| download | rust-4972beaf65cad992a6ed791fdefe90e46c09aa7b.tar.gz rust-4972beaf65cad992a6ed791fdefe90e46c09aa7b.zip | |
fix typos in various places
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/mod.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sync/once.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/sync/mod.rs b/src/libstd/sync/mod.rs index d69ebc17622..a7db372a0e2 100644 --- a/src/libstd/sync/mod.rs +++ b/src/libstd/sync/mod.rs @@ -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. diff --git a/src/libstd/sync/once.rs b/src/libstd/sync/once.rs index 98845e457b2..cf9698cb2a9 100644 --- a/src/libstd/sync/once.rs +++ b/src/libstd/sync/once.rs @@ -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 |
