]> Cypherpunks repositories - gostls13.git/commit
net/rpc: fix typo in documentation, clarify semantics of error return
authorDavid G. Andersen <dave.andersen@gmail.com>
Fri, 22 Jun 2012 22:07:22 +0000 (15:07 -0700)
committerRob Pike <r@golang.org>
Fri, 22 Jun 2012 22:07:22 +0000 (15:07 -0700)
commite2f2929d85ab27960ed83e740728a89cd1d521e6
tree186c41c02858085ed1b7e28657eb16a699e4080c
parent75344d3d5b85acb4db74eb98cdffdef1d490508c
net/rpc: fix typo in documentation, clarify semantics of error return

Several of my students were confused by trying to use both the error
return and a reply return, so I figured it was worth explicitly clarifying
that returning an error overrides the reply.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6327051
src/pkg/net/rpc/server.go