From d1c20a1da8fbf5ffbc093eace64bfa9e72f8c539 Mon Sep 17 00:00:00 2001 From: dudaodong Date: Mon, 6 Jun 2022 11:07:13 +0800 Subject: [PATCH] fix: fix function comment --- datastructure/set/set.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datastructure/set/set.go b/datastructure/set/set.go index bfadc75..6eabffa 100644 --- a/datastructure/set/set.go +++ b/datastructure/set/set.go @@ -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]