Skip to content

Commit 3de429e

Browse files
committed
remove impl Send for MutexGuard
1 parent 320a2e5 commit 3de429e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

util/src/sync/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ impl<T> Mutex<T> {
2727
/// dropped (falls out of scope), the lock will be unlocked.
2828
pub struct MutexGuard<'a, T>(sync::MutexGuard<'a, T>);
2929

30-
unsafe impl<'a, T> Send for MutexGuard<'a, T> {}
31-
3230
impl<'a, T> ops::Deref for MutexGuard<'a, T> {
3331
type Target = T;
3432

0 commit comments

Comments
 (0)