Rename Del to Delete for the sparse.
This commit is contained in:
parent
49635e09a3
commit
0f08d096f6
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ func (s *Sparse[K, V]) Set(k K, v V) {
|
|||
}
|
||||
|
||||
// Delete the value by the key.
|
||||
func (s Sparse[K, V]) Del(k K) {
|
||||
func (s Sparse[K, V]) Delete(k K) {
|
||||
delete(s.store, k)
|
||||
|
||||
// To know if the loop was run.
|
||||
|
|
Loading…
Reference in a new issue