From 90a0b1fb2378c3de445d78bf4859f1fbb850f6b1 Mon Sep 17 00:00:00 2001 From: cryo Date: Tue, 5 Aug 2025 22:46:39 +0800 Subject: [PATCH] mcp: fix comments (#241) Update inaccurate doc comment for ClientSession. --- mcp/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mcp/client.go b/mcp/client.go index 9e3f393..7c68870 100644 --- a/mcp/client.go +++ b/mcp/client.go @@ -153,8 +153,8 @@ func (c *Client) Connect(ctx context.Context, t Transport) (cs *ClientSession, e // methods can be used to send requests or notifications to the server. Create // a session by calling [Client.Connect]. // -// Call [ClientSession.Close] to close the connection, or await client -// termination with [ServerSession.Wait]. +// Call [ClientSession.Close] to close the connection, or await server +// termination with [ClientSession.Wait]. type ClientSession struct { conn *jsonrpc2.Connection client *Client