Skip to content

Commit e8c6e03

Browse files
authored
fix comment (#180)
update comment for func `clientMethod`
1 parent 1ea7df3 commit e8c6e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp/shared.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ func serverMethod[P Params, R Result](
203203
}
204204
}
205205

206-
// clientMethod is glue for creating a typedMethodHandler from a method on Server.
206+
// clientMethod is glue for creating a typedMethodHandler from a method on Client.
207207
func clientMethod[P Params, R Result](
208208
f func(*Client, context.Context, *ClientSession, P) (R, error),
209209
) typedMethodHandler[*ClientSession, P, R] {

0 commit comments

Comments
 (0)