From 22134eb33e249a3b3ae6c0153b0176e4dd532220 Mon Sep 17 00:00:00 2001 From: Longhua Zhang Date: Fri, 23 May 2025 15:14:52 +0800 Subject: [PATCH] fix: comment error (#215) Co-authored-by: plutoyzhang --- crates/rmcp/src/service/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/rmcp/src/service/client.rs b/crates/rmcp/src/service/client.rs index ab4c349..f44d176 100644 --- a/crates/rmcp/src/service/client.rs +++ b/crates/rmcp/src/service/client.rs @@ -300,9 +300,9 @@ impl Peer { Ok(tools) } - /// A wrapper method for [`Peer::list_resources`]. + /// A wrapper method for [`Peer::list_prompts`]. /// - /// This function will call [`Peer::list_resources`] multiple times until all resources are listed. + /// This function will call [`Peer::list_prompts`] multiple times until all prompts are listed. pub async fn list_all_prompts(&self) -> Result, ServiceError> { let mut prompts = Vec::new(); let mut cursor = None;