From: Ian Lance Taylor Date: Mon, 15 Jun 2020 22:02:54 +0000 (-0700) Subject: net/rpc: clarify documention of Call.Done field X-Git-Tag: go1.15rc1~88 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=292a771b876b2d7deae141dd352c43e650ac3f54;p=gostls13.git 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 TryBot-Result: Gobot Gobot Reviewed-by: Josh Bleecher Snyder --- 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.