mcp: minor cleanup of some TODOs (#332)
Do a pass through TODOs to delete or address minor TODOs.
This commit is contained in:
parent
719f68d0bf
commit
62d815922f
1 changed files with 14 additions and 11 deletions
|
|
@ -17,7 +17,9 @@ import (
|
|||
// A featureSet is a collection of features of type T.
|
||||
// Every feature has a unique ID, and the spec never mentions
|
||||
// an ordering for the List calls, so what it calls a "list" is actually a set.
|
||||
// TODO: switch to an ordered map
|
||||
//
|
||||
// An alternative implementation would use an ordered map, but that's probably
|
||||
// not necessary as adds and removes are rare, and usually batched.
|
||||
type featureSet[T any] struct {
|
||||
uniqueID func(T) string
|
||||
features map[string]T
|
||||
|
|
|
|||
Loading…
Reference in a new issue