diff --git a/mapset/mapset.go b/mapset/mapset.go index 8535146..e7437a7 100644 --- a/mapset/mapset.go +++ b/mapset/mapset.go @@ -14,7 +14,7 @@ func New[T comparable](keys ...T) MapSet[T] { return s } -// MapSet 是集合的范型实现 +// MapSet 是集合的 generics 实现 type MapSet[T comparable] map[T]struct{} // Cardinality 返回集合的元素个数