Skip to content

Commit c4b4092

Browse files
committed
refactor: remove doc comments from add_route functions
Signed-off-by: tanish111 <[email protected]>
1 parent dc1f334 commit c4b4092

File tree

1 file changed

+0
-2
lines changed
  • crates/rmcp/src/handler/server/router

1 file changed

+0
-2
lines changed

crates/rmcp/src/handler/server/router/tool.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,6 @@ where
221221

222222
pub fn add_route(&mut self, item: ToolRoute<S>) {
223223
let new_name = &item.attr.name;
224-
// Validate tool name according to SEP specification
225-
// This validates both new routes and updates (when replacing a route with a different name)
226224
validate_and_warn_tool_name(new_name);
227225
self.map.insert(new_name.clone(), item);
228226
}

0 commit comments

Comments
 (0)