Skip to content

Commit 18b3456

Browse files
authored
Update deadlock_go1.18.go
1 parent 63bea64 commit 18b3456

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

deadlock_go1.18.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"sync"
88
)
99

10-
// A DeadlockMutex is a drop-in replacement for sync.Mutex, except it does not support TryLock().
10+
// A DeadlockMutex is a drop-in replacement for sync.Mutex.
1111
type DeadlockMutex struct {
1212
mu sync.Mutex
1313
}
@@ -37,7 +37,7 @@ func (m *DeadlockMutex) Unlock() {
3737
lo.postUnlock(m)
3838
}
3939

40-
// An DeadlockRWMutex is a drop-in replacement for sync.RWMutex, except it does not support TryLock().
40+
// An DeadlockRWMutex is a drop-in replacement for sync.RWMutex.
4141
type DeadlockRWMutex struct {
4242
mu sync.RWMutex
4343
}

0 commit comments

Comments
 (0)