Skip to content

Commit

Permalink
doc: fix comment for IDPool
Browse files Browse the repository at this point in the history
Signed-off-by: imxyb <xyb4638@gmail.com>
  • Loading branch information
imxyb committed Dec 22, 2020
1 parent f667091 commit bb4a844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/pools/id_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
// contains any duplicates. The IDs start at 1 and increase without bound, but
// will never be larger than the peak number of concurrent uses.
//
// IDPool's Get() and Set() methods can be used concurrently.
// IDPool's Get() and Put() methods can be used concurrently.
type IDPool struct {
sync.Mutex

Expand Down

0 comments on commit bb4a844

Please sign in to comment.