]> Cypherpunks repositories - gostls13.git/commitdiff
net: remove comment fragments
authorRuss Cox <rsc@golang.org>
Thu, 17 Feb 2011 21:32:50 +0000 (16:32 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 17 Feb 2011 21:32:50 +0000 (16:32 -0500)
I have no idea how I meant to complete that sentence.

R=r, r2
CC=golang-dev
https://golang.org/cl/4191046

src/pkg/net/net.go

index c0c1c3b8ab10f8cf83b6c69bbc032f45235fb7ef..04a898a9aac04824421672eea0e76ef1054190f5 100644 (file)
@@ -31,7 +31,6 @@ type Conn interface {
        Write(b []byte) (n int, err os.Error)
 
        // Close closes the connection.
-       // The error returned is an os.Error to satisfy io.Closer;
        Close() os.Error
 
        // LocalAddr returns the local network address.
@@ -83,7 +82,6 @@ type PacketConn interface {
        WriteTo(b []byte, addr Addr) (n int, err os.Error)
 
        // Close closes the connection.
-       // The error returned is an os.Error to satisfy io.Closer;
        Close() os.Error
 
        // LocalAddr returns the local network address.
@@ -112,7 +110,6 @@ type Listener interface {
        Accept() (c Conn, err os.Error)
 
        // Close closes the listener.
-       // The error returned is an os.Error to satisfy io.Closer;
        Close() os.Error
 
        // Addr returns the listener's network address.