Skip to content

Commit

Permalink
fix interface name in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-87 authored and umputun committed Sep 23, 2023
1 parent 4b7d643 commit d557ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion semaphore.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type Locker interface {
TryLock() bool
}

// Semaphore implementation, counted lock only. Implements sync.Locker interface, thread safe.
// Semaphore implementation, counted lock only. Implements Locker interface, thread safe.
type semaphore struct {
ch chan struct{}
}
Expand Down

0 comments on commit d557ed0

Please sign in to comment.