修改注释中的错字;
This commit is contained in:
@@ -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 返回集合的元素个数
|
||||||
|
|||||||
Reference in New Issue
Block a user