diff --git a/src/net/rpc/server.go b/src/net/rpc/server.go index 83d9aac10c4..18ea629b0d6 100644 --- a/src/net/rpc/server.go +++ b/src/net/rpc/server.go @@ -23,7 +23,7 @@ func (t *T) MethodName(argType T1, replyType *T2) error - where T, T1 and T2 can be marshaled by encoding/gob. + where T1 and T2 can be marshaled by encoding/gob. These requirements apply even if a different codec is used. (In the future, these requirements may soften for custom codecs.)