Skip to content

Commit 414515a

Browse files
committed
fix: align rustfmt formatting with CI stable toolchain
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent 1dceb1a commit 414515a

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

crates/mcpmux-gateway/src/mcp/handler.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ pub struct McpMuxGatewayHandler {
2929
}
3030

3131
impl McpMuxGatewayHandler {
32-
pub fn new(
33-
services: Arc<ServiceContainer>,
34-
notification_bridge: Arc<MCPNotifier>,
35-
) -> Self {
32+
pub fn new(services: Arc<ServiceContainer>, notification_bridge: Arc<MCPNotifier>) -> Self {
3633
Self {
3734
services,
3835
notification_bridge,

crates/mcpmux-gateway/src/server/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,8 @@ impl GatewayServer {
238238
}
239239

240240
// Create MCP handler
241-
let handler = McpMuxGatewayHandler::new(
242-
Arc::new(self.services.clone()),
243-
notification_bridge.clone(),
244-
);
241+
let handler =
242+
McpMuxGatewayHandler::new(Arc::new(self.services.clone()), notification_bridge.clone());
245243

246244
// Create STATEFUL MCP service (full Streamable HTTP per spec 2025-11-25)
247245
// stateful_mode: true means:

0 commit comments

Comments
 (0)