From fd2c3d52c305ea1eb95336ed983b02dad3bbf2bf Mon Sep 17 00:00:00 2001 From: cryo Date: Mon, 28 Jul 2025 09:05:15 +0000 Subject: [PATCH] chore: update comment for clarity --- mcp/shared.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcp/shared.go b/mcp/shared.go index fef20946..49dd2b10 100644 --- a/mcp/shared.go +++ b/mcp/shared.go @@ -203,7 +203,7 @@ func serverMethod[P Params, R Result]( } } -// clientMethod is glue for creating a typedMethodHandler from a method on Server. +// clientMethod is glue for creating a typedMethodHandler from a method on Client. func clientMethod[P Params, R Result]( f func(*Client, context.Context, *ClientSession, P) (R, error), ) typedMethodHandler[*ClientSession, P, R] {