We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 713b635 commit ff00b7dCopy full SHA for ff00b7d
library/std/src/sync/mutex.rs
@@ -227,7 +227,7 @@ unsafe impl<T: ?Sized + Send> Send for Mutex<T> {}
227
/// data races.
228
///
229
#[stable(feature = "rust1", since = "1.0.0")]
230
-unsafe impl<T: ?Sized + Send> Sync for MutexGuard<T> {}
+unsafe impl<T: ?Sized + Send> Sync for Mutex<T> {}
231
232
/// An RAII implementation of a "scoped lock" of a mutex. When this structure is
233
/// dropped (falls out of scope), the lock will be unlocked.
0 commit comments