1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-04 12:52:28 +08:00

fix: fix function comment

This commit is contained in:
dudaodong
2022-06-06 11:07:13 +08:00
parent f87ab89207
commit d1c20a1da8

View File

@@ -23,7 +23,7 @@ func (s Set[T]) Contain(value T) bool {
return ok
}
// Contain checks if set contains other set
// ContainAll checks if set contains other set
func (s Set[T]) ContainAll(other Set[T]) bool {
for k := range other {
_, ok := s[k]