update comment

This commit is contained in:
georgehao 2025-02-04 17:36:01 +08:00
parent 4e8c1e9ac2
commit 53dc219a81
No known key found for this signature in database

View file

@ -17,8 +17,8 @@
// Package syncx contains exotic synchronization primitives.
package syncx
// ClosableMutex is a mutex that can be closed.
// Once closed, it cannot be locked again.
// ClosableMutex is a mutex that can also be closed.
// Once closed, it can never be taken again.
type ClosableMutex struct {
ch chan struct{}
}