aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-06-15 15:02:54 -0700
committerIan Lance Taylor <iant@golang.org>2020-06-18 01:07:32 +0000
commit292a771b876b2d7deae141dd352c43e650ac3f54 (patch)
tree351ea60c00a58efd6a880dbc986398245783c14d /src
parent0ce1ffc49d3935a41e1fff2aec224c254a9fad1d (diff)
downloadgo-292a771b876b2d7deae141dd352c43e650ac3f54.tar.xz
net/rpc: clarify documention of Call.Done field
Fixes #36116 Change-Id: I93909f2addee9a9435ad658e8b40eef966ce53fe Reviewed-on: https://go-review.googlesource.com/c/go/+/238078 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/net/rpc/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/rpc/client.go b/src/net/rpc/client.go
index cad2d45e7f..25f2a004e4 100644
--- a/src/net/rpc/client.go
+++ b/src/net/rpc/client.go
@@ -31,7 +31,7 @@ type Call struct {
Args interface{} // The argument to the function (*struct).
Reply interface{} // The reply from the function (*struct).
Error error // After completion, the error status.
- Done chan *Call // Strobes when call is complete.
+ Done chan *Call // Receives *Call when Go is complete.
}
// Client represents an RPC Client.