diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-02-18 13:21:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-18 13:21:01 +0100 |
| commit | af140ecdbc64251d7f536411c84e0d398a3d6631 (patch) | |
| tree | 2ae36927d157f2cfdc7df90e7b01c88f3ac073aa /src/libstd/sync | |
| parent | b7791b0c7eb4eef607ca222404e1d0d69c352a21 (diff) | |
| parent | 4452446292086d9c92ea709eea61a31cedb55e22 (diff) | |
| download | rust-af140ecdbc64251d7f536411c84e0d398a3d6631.tar.gz rust-af140ecdbc64251d7f536411c84e0d398a3d6631.zip | |
Rollup merge of #48275 - matthiaskrgr:codespell, r=kennytm,varkor
fix more typos found by codespell.
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/rwlock.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sync/rwlock.rs b/src/libstd/sync/rwlock.rs index 2edf02efc47..f7fdedc0d21 100644 --- a/src/libstd/sync/rwlock.rs +++ b/src/libstd/sync/rwlock.rs @@ -24,8 +24,8 @@ use sys_common::rwlock as sys; /// typically allows for read-only access (shared access). /// /// In comparison, a [`Mutex`] does not distinguish between readers or writers -/// that aquire the lock, therefore blocking any threads waiting for the lock to -/// become available. An `RwLock` will allow any number of readers to aquire the +/// that acquire the lock, therefore blocking any threads waiting for the lock to +/// become available. An `RwLock` will allow any number of readers to acquire the /// lock as long as a writer is not holding the lock. /// /// The priority policy of the lock is dependent on the underlying operating |
