mcp: minor cleanup of some TODOs (#332)

Do a pass through TODOs to delete or address minor TODOs.
This commit is contained in:
Robert Findley 2025-08-20 12:55:19 -04:00 • committed by GitHub
commit 62d815922f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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