修改注释中的错字;

This commit is contained in:
2023-04-07 23:30:47 +08:00
parent 179e00910d
commit 625f12a793

View File

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