Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1399)

Issue 6327051: code review 6327051: net/rpc: fix typo in documentation, clarify semantics o... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by dga
Modified:
12 years, 11 months ago
Reviewers:
CC:
golang-dev, r
Visibility:
Public.

Description

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.

Patch Set 1 #

Patch Set 2 : diff -r 093dcfc4d307 https://code.google.com/p/go #

Patch Set 3 : diff -r 093dcfc4d307 https://code.google.com/p/go #

Total comments: 2

Patch Set 4 : diff -r 093dcfc4d307 https://code.google.com/p/go #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M src/pkg/net/rpc/server.go View 1 2 3 1 chunk +3 lines, -2 lines 1 comment Download

Messages

Total messages: 5
dga
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
12 years, 11 months ago (2012-06-22 21:50:21 UTC) #1
r
http://codereview.appspot.com/6327051/diff/4001/src/pkg/net/rpc/server.go File src/pkg/net/rpc/server.go (right): http://codereview.appspot.com/6327051/diff/4001/src/pkg/net/rpc/server.go#newcode27 src/pkg/net/rpc/server.go:27: (In the future, these requirements may soften for custom ...
12 years, 11 months ago (2012-06-22 21:54:36 UTC) #2
dga
On Friday, June 22, 2012 5:54:36 PM UTC-4, r...@golang.org wrote: > > > http://codereview.appspot.com/6327051/diff/4001/src/pkg/net/rpc/server.go > ...
12 years, 11 months ago (2012-06-22 21:59:49 UTC) #3
r
LGTM http://codereview.appspot.com/6327051/diff/6001/src/pkg/net/rpc/server.go File src/pkg/net/rpc/server.go (right): http://codereview.appspot.com/6327051/diff/6001/src/pkg/net/rpc/server.go#newcode27 src/pkg/net/rpc/server.go:27: (In the future, these requirements may soften for ...
12 years, 11 months ago (2012-06-22 22:06:50 UTC) #4
r
12 years, 11 months ago (2012-06-22 22:07:26 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=ef713d7587f2 ***

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
http://codereview.appspot.com/6327051

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b