Skip to content

Commit ff00b7d

Browse files
committed
update mutex.rs
1 parent 713b635 commit ff00b7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sync/mutex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ unsafe impl<T: ?Sized + Send> Send for Mutex<T> {}
227227
/// data races.
228228
///
229229
#[stable(feature = "rust1", since = "1.0.0")]
230-
unsafe impl<T: ?Sized + Send> Sync for MutexGuard<T> {}
230+
unsafe impl<T: ?Sized + Send> Sync for Mutex<T> {}
231231

232232
/// An RAII implementation of a "scoped lock" of a mutex. When this structure is
233233
/// dropped (falls out of scope), the lock will be unlocked.

0 commit comments

Comments
 (0)