Rename Del to Delete for the sparse.

This commit is contained in:
Andrey Parhomenko 2023-07-22 01:45:24 +03:00
parent 49635e09a3
commit 0f08d096f6

View file

@ -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.