Skip to content

Commit 60e7df4

Browse files
authored
Rollup merge of #40611 - ScottAbbey:patch-1, r=GuillaumeGomez
Fix typo in mutex.rs docs This seems to match other uses of "be accessed" in the document.
2 parents 02a688b + ec8ecf4 commit 60e7df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sync/mutex.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ unsafe impl<T: ?Sized + Send> Sync for Mutex<T> { }
132132
/// An RAII implementation of a "scoped lock" of a mutex. When this structure is
133133
/// dropped (falls out of scope), the lock will be unlocked.
134134
///
135-
/// The data protected by the mutex can be access through this guard via its
135+
/// The data protected by the mutex can be accessed through this guard via its
136136
/// [`Deref`] and [`DerefMut`] implementations.
137137
///
138138
/// This structure is created by the [`lock`] and [`try_lock`] methods on

0 commit comments

Comments
 (0)