From 1d70ac89c512c11e220ccc1e115dfb3aa5164f1c Mon Sep 17 00:00:00 2001 From: Nicolas Lacasse Date: Fri, 10 Jun 2022 11:22:39 -0700 Subject: [PATCH] Typo fix: unknow -> unknown PiperOrigin-RevId: 454205194 --- pkg/sync/locking/lockdep.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sync/locking/lockdep.go b/pkg/sync/locking/lockdep.go index b38d2fd0b..0e1703b08 100644 --- a/pkg/sync/locking/lockdep.go +++ b/pkg/sync/locking/lockdep.go @@ -126,7 +126,7 @@ func DelGLock(class *MutexClass, subclass uint32) { panic("the current goroutine doesn't have locks") } if _, ok := (*currentLocks)[class]; !ok { - panic("unlock of an unknow lock") + panic("unlock of an unknown lock") } delete(*currentLocks, class)