refactor: improve code readability and consistency across multiple files

This commit is contained in:
asepharyana committed 2026-07-20 12:02:50 +07:00
1 parent 4ced6681c2
commit 1ec2aa136a
17 files changed
+117 -41

No files matched your search

+9
View File
@@ -22,6 +22,15 @@ impl McpManager {
servers: HashMap::new(),
}
}
}
impl Default for McpManager {
fn default() -> Self {
Self::new()
}
}
impl McpManager {
pub fn register(&mut self, name: &str, transport: &str) {
self.servers.insert(