1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-12 16:52:29 +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 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 { func (s Set[T]) ContainAll(other Set[T]) bool {
for k := range other { for k := range other {
_, ok := s[k] _, ok := s[k]