From 0f08d096f6daa31bff6a472ce9c4fc418734d13b Mon Sep 17 00:00:00 2001 From: surdeus Date: Sat, 22 Jul 2023 01:45:24 +0300 Subject: [PATCH] Rename Del to Delete for the sparse. --- src/sparsex/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sparsex/main.go b/src/sparsex/main.go index 809d681..2d392bc 100644 --- a/src/sparsex/main.go +++ b/src/sparsex/main.go @@ -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.