Skip to content

Commit ec8ecf4

Browse files
authored
Fix typo in mutex.rs docs
This seems to match other uses of "be accessed" in the document.
1 parent 9fae040 commit ec8ecf4

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)