Skip to content

Commit 672fb56

Browse files
committed
fix cargo nightly fmt checks
1 parent 37d385e commit 672fb56

File tree

3 files changed

+111
-93
lines changed

3 files changed

+111
-93
lines changed

crates/rmcp/src/service/client.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ use crate::{
2121
transport::DynamicTransportError,
2222
};
2323

24-
2524
/// It represents the error that may occur when serving the client.
2625
///
2726
/// if you want to handle the error, you can use `serve_client_with_ct` or `serve_client` with `Result<RunningService<RoleClient, S>, ClientError>`
@@ -391,5 +390,4 @@ impl Peer<RoleClient> {
391390
}
392391
Ok(resource_templates)
393392
}
394-
395393
}

crates/rmcp/src/service/server.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,22 +333,22 @@ pub enum ElicitationError {
333333
/// The elicitation request failed at the service level
334334
#[error("Service error: {0}")]
335335
Service(#[from] ServiceError),
336-
336+
337337
/// User declined to provide input or cancelled the request
338338
#[error("User declined or cancelled the request")]
339339
UserDeclined,
340-
340+
341341
/// The response data could not be parsed into the requested type
342342
#[error("Failed to parse response data: {error}\nReceived data: {data}")]
343343
ParseError {
344344
error: serde_json::Error,
345345
data: serde_json::Value,
346346
},
347-
347+
348348
/// No response content was provided by the user
349349
#[error("No response content provided")]
350350
NoContent,
351-
351+
352352
/// Client does not support elicitation capability
353353
#[error("Client does not support elicitation - capability not declared during initialization")]
354354
CapabilityNotSupported,

0 commit comments

Comments
 (0)