From: Brad Fitzpatrick Date: Tue, 15 Sep 2015 03:58:21 +0000 (-0700) Subject: net: remove named parameters in Listener.Accept doc signature X-Git-Tag: go1.6beta1~1081 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=19d262ffdf94c986c47d15424da8d07326f0641c;p=gostls13.git net: remove named parameters in Listener.Accept doc signature They added no value. Change-Id: I9e690379d2dfd983266de0ea5231f2b57c8b1517 Reviewed-on: https://go-review.googlesource.com/14568 Reviewed-by: Ian Lance Taylor --- diff --git a/src/net/net.go b/src/net/net.go index 4f1bf9dcc1..89212e6e26 100644 --- a/src/net/net.go +++ b/src/net/net.go @@ -345,7 +345,7 @@ var listenerBacklog = maxListenerBacklog() // Multiple goroutines may invoke methods on a Listener simultaneously. type Listener interface { // Accept waits for and returns the next connection to the listener. - Accept() (c Conn, err error) + Accept() (Conn, error) // Close closes the listener. // Any blocked Accept operations will be unblocked and return errors.