Skip to content

Commit

Permalink
fix api comment
Browse files Browse the repository at this point in the history
Signed-off-by: Elazar Gershuni <[email protected]>
  • Loading branch information
Elazar Gershuni committed Mar 11, 2024
1 parent a99ebea commit 0f4bba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/interval/intervalset.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (c *CanonicalSet) Overlaps(other *CanonicalSet) bool {
return false
}

// Subtract updates current CanonicalSet with subtraction result of input CanonicalSet
// Subtract returns the subtraction result of input CanonicalSet
func (c *CanonicalSet) Subtract(other *CanonicalSet) *CanonicalSet {
res := slices.Clone(c.IntervalSet)
for _, hole := range other.IntervalSet {
Expand Down

0 comments on commit 0f4bba7

Please sign in to comment.