Skip to content

Commit

Permalink
remove TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
wafer-bw committed Sep 1, 2024
1 parent 4f20a30 commit b01f9e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions memkv/memkv.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ import (

// Store is a generic in-memory key-value store.
type Store[K comparable, V any] struct {
// TODO: should this be part of the underlying data?
mu *sync.RWMutex
capacity int
mu *sync.RWMutex
data *underlying.Data[K, V]
}

Expand Down

0 comments on commit b01f9e2

Please sign in to comment.