Skip to content

Commit

Permalink
Rollup merge of rust-lang#40611 - ScottAbbey:patch-1, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
Fix typo in mutex.rs docs

This seems to match other uses of "be accessed" in the document.
  • Loading branch information
Ariel Ben-Yehuda authored Mar 19, 2017
2 parents 9fa91f4 + ec8ecf4 commit 37b9514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sync/mutex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ unsafe impl<T: ?Sized + Send> Sync for Mutex<T> { }
/// An RAII implementation of a "scoped lock" of a mutex. When this structure is
/// dropped (falls out of scope), the lock will be unlocked.
///
/// The data protected by the mutex can be access through this guard via its
/// The data protected by the mutex can be accessed through this guard via its
/// [`Deref`] and [`DerefMut`] implementations.
///
/// This structure is created by the [`lock`] and [`try_lock`] methods on
Expand Down

0 comments on commit 37b9514

Please sign in to comment.