Skip to content

Commit

Permalink
CR comments 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiriMoran committed Jan 9, 2024
1 parent 0c3f6a2 commit e41b5ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/common/genericSet.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (s GenericSet[T]) IsIntersect(s2 GenericSet[T]) bool {
return false
}

func Contains(s []int, e int) bool {
func Contains[T comparable](s []T, e T) bool {
for _, a := range s {
if a == e {
return true
Expand Down

0 comments on commit e41b5ac

Please sign in to comment.