Skip to content

Commit 2a78945

Browse files
committed
Update comment
1 parent aea7be0 commit 2a78945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

set.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ type Set[T comparable] interface {
162162
// use to range over the set.
163163
Iterator() *Iterator[T]
164164

165-
// Match returns whether at least one element in the set
165+
// MatchesFunc() returns whether at least one element in the set
166166
// matches the provided predicate function.
167167
MatchesFunc(func(T) bool) bool
168168

0 commit comments

Comments
 (0)