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

@ -226,7 +226,6 @@ func (c *Client) AddRoots(roots ...*Root) {
// RemoveRoots removes the roots with the given URIs,
// and notifies any connected servers if the list has changed.
// It is not an error to remove a nonexistent root.
// TODO: notification
func (c *Client) RemoveRoots(uris ...string) {
changeAndNotify(c, notificationRootsListChanged, &RootsListChangedParams{},
func() bool { return c.roots.remove(uris...) })