Skip to content

Commit ad60903

Browse files
committed
fix: fmt
1 parent 88fc0d8 commit ad60903

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

crates/rmcp/src/handler/client/progress.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ impl ProgressDispatcher {
3232
}
3333

3434
/// Subscribe to progress notifications for a specific token.
35-
///
35+
///
3636
/// If you drop the returned `ProgressSubscriber`, it will automatically unsubscribe from notifications for that token.
3737
pub async fn subscribe(&self, progress_token: ProgressToken) -> ProgressSubscriber {
3838
let (sender, receiver) = tokio::sync::mpsc::channel(Self::CHANNEL_SIZE);

crates/rmcp/tests/test_progress_subscriber.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ use futures::StreamExt;
22
use rmcp::{
33
ClientHandler, Peer, RoleServer, ServerHandler, ServiceExt,
44
handler::{client::progress::ProgressDispatcher, server::tool::ToolRouter},
5-
model::{
6-
CallToolRequestParam, ClientRequest, Meta, ProgressNotificationParam, Request,
7-
},
5+
model::{CallToolRequestParam, ClientRequest, Meta, ProgressNotificationParam, Request},
86
service::PeerRequestOptions,
97
tool, tool_handler, tool_router,
108
};

0 commit comments

Comments
 (0)