Skip to content

Commit

Permalink
Fix doc comment on Union method (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravanscafi authored Sep 14, 2023
1 parent b20691d commit 6f5ccad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion set.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ type Set[T comparable] interface {
//
// Note that the argument to Union must be of the
// same type as the receiver of the method.
// Otherwise, IsSuperset will panic.
// Otherwise, Union will panic.
Union(other Set[T]) Set[T]

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

0 comments on commit 6f5ccad

Please sign in to comment.