Skip to content

Commit d52aaf4

Browse files
committed
Format with nightly cargo fmt
1 parent caa10f7 commit d52aaf4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

crates/rmcp/src/service/client.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,15 @@ where
8585
loop {
8686
let msg = expect_next_message(transport, context).await?;
8787
match msg {
88-
ServerJsonRpcMessage::Response(JsonRpcResponse { id, result, .. }) => break Ok((result, id)),
88+
ServerJsonRpcMessage::Response(JsonRpcResponse { id, result, .. }) => {
89+
break Ok((result, id));
90+
}
8991
ServerJsonRpcMessage::Notification(notification) => {
9092
let notification = serde_json::to_string(&notification).unwrap_or_default();
91-
tracing::debug!(notification, "Received notification from server when handshaking")
93+
tracing::debug!(
94+
notification,
95+
"Received notification from server when handshaking"
96+
)
9297
}
9398
_ => break Err(ClientInitializeError::ExpectedInitResponse(Some(msg))),
9499
}

0 commit comments

Comments
 (0)