summaryrefslogtreecommitdiffhomepage
path: root/pkg/sync/mutex_unsafe.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sync/mutex_unsafe.go')
-rw-r--r--pkg/sync/mutex_unsafe.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sync/mutex_unsafe.go b/pkg/sync/mutex_unsafe.go
index b829765d9..e00d9467d 100644
--- a/pkg/sync/mutex_unsafe.go
+++ b/pkg/sync/mutex_unsafe.go
@@ -3,8 +3,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build go1.13
-// +build !go1.18
+//go:build go1.13 && !go1.18
+// +build go1.13,!go1.18
// When updating the build constraint (above), check that syncMutex matches the
// standard library sync.Mutex definition.