]> Cypherpunks repositories - gostls13.git/commitdiff
net/rpc: clarify documention of Call.Done field
authorIan Lance Taylor <iant@golang.org>
Mon, 15 Jun 2020 22:02:54 +0000 (15:02 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 18 Jun 2020 01:07:32 +0000 (01:07 +0000)
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>
src/net/rpc/client.go

index cad2d45e7f8d4f4dcdc5f60e7c3d342db54860e6..25f2a004e449526eb93ed920dd92dedf5bccb094 100644 (file)
@@ -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.