summaryrefslogtreecommitdiffhomepage
path: root/tools/checklocks/test/test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/checklocks/test/test.go')
-rw-r--r--tools/checklocks/test/test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checklocks/test/test.go b/tools/checklocks/test/test.go
index cbf6b1635..d1a9992fb 100644
--- a/tools/checklocks/test/test.go
+++ b/tools/checklocks/test/test.go
@@ -51,7 +51,7 @@ type twoLocksStruct struct {
// twoLocksDoubleGuardStruct has two locks and a single field with two guards.
type twoLocksDoubleGuardStruct struct {
mu sync.Mutex
- secondMu sync.Mutex
+ secondMu sync.Mutex // +checklocksignore: mu is inferred as requisite.
// +checklocks:mu
// +checklocks:secondMu
doubleGuardedField int