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:
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user