pkg/sorted: rename a receiver to appease staticcheck

Signed-off-by: Brad Fitzpatrick <brad@danga.com>
This commit is contained in:
Brad Fitzpatrick 2024-01-14 16:38:40 -08:00
parent 9d0c73955a
commit 2e5266741a
1 changed files with 4 additions and 4 deletions

View File

@ -45,10 +45,10 @@ type memKeys struct {
db *memdb.DB
}
func (s *memKeys) Wipe() error {
s.mu.Lock()
defer s.mu.Unlock()
s.db = memdb.New(comparer.DefaultComparer, 128)
func (mk *memKeys) Wipe() error {
mk.mu.Lock()
defer mk.mu.Unlock()
mk.db = memdb.New(comparer.DefaultComparer, 128)
return nil
}