Skip to content

Commit 6f5ccad

Browse files
authored
Fix doc comment on Union method (#126)
1 parent b20691d commit 6f5ccad

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
@@ -169,7 +169,7 @@ type Set[T comparable] interface {
169169
//
170170
// Note that the argument to Union must be of the
171171
// same type as the receiver of the method.
172-
// Otherwise, IsSuperset will panic.
172+
// Otherwise, Union will panic.
173173
Union(other Set[T]) Set[T]
174174

175175
// Pop removes and returns an arbitrary item from the set.

0 commit comments

Comments
 (0)