Skip to content

Commit

Permalink
nitpick
Browse files Browse the repository at this point in the history
  • Loading branch information
weiihann committed Dec 12, 2024
1 parent cfa54d0 commit 2f26e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/orderedset.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
// - Uses a slice to maintain insertion order and enable ordered iteration
// The data structure is safe for concurrent access through the use of a read-write mutex.
type OrderedSet[K comparable, V any] struct {
itemPos map[K]int // position of the node in the list
itemPos map[K]int // position of the item in the list
items []V
lock sync.RWMutex
}
Expand Down

0 comments on commit 2f26e36

Please sign in to comment.