We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 567096d commit 5257f3fCopy full SHA for 5257f3f
std/src/sync/reentrant_lock.rs
@@ -116,6 +116,9 @@ pub struct ReentrantLockGuard<'a, T: ?Sized + 'a> {
116
#[unstable(feature = "reentrant_lock", issue = "121440")]
117
impl<T: ?Sized> !Send for ReentrantLockGuard<'_, T> {}
118
119
+#[unstable(feature = "reentrant_lock", issue = "121440")]
120
+unsafe impl<T: ?Sized + Sync> Sync for ReentrantLockGuard<'_, T> {}
121
+
122
123
impl<T> ReentrantLock<T> {
124
/// Creates a new re-entrant lock in an unlocked state ready for use.
0 commit comments