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.
Sync
1 parent ab2f64c commit fb19ebdCopy full SHA for fb19ebd
src/sync/rwlock.rs
@@ -57,7 +57,7 @@ pub struct RwLock<T> {
57
}
58
59
unsafe impl<T: Send> Send for RwLock<T> {}
60
-unsafe impl<T: Send> Sync for RwLock<T> {}
+unsafe impl<T: Send + Sync> Sync for RwLock<T> {}
61
62
impl<T> RwLock<T> {
63
/// Creates a new reader-writer lock.
0 commit comments