Skip to content

Commit 1aaddc3

Browse files
committed
util/intsets: fix outdated comment
Release note: None
1 parent b0e0704 commit 1aaddc3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkg/util/intsets/fast.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ func (s *Fast) fitsInSmall() bool {
4646
return s.large == nil || s.large.Empty()
4747
}
4848

49-
// Add adds a value to the set. No-op if the value is already in the set. If the
50-
// large set is not nil and the value is within the range [0, 63], the value is
51-
// added to both the large and small sets.
49+
// Add adds a value to the set. No-op if the value is already in the set.
5250
func (s *Fast) Add(i int) {
5351
if i >= 0 && i < smallCutoff {
5452
s.small.Set(i)

0 commit comments

Comments
 (0)