diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-04-20 15:44:41 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-04-20 15:44:41 +0200 |
commit | 50104cc32a498f7517a51c8dc93106c51c7a54b4 (patch) | |
tree | 47af80be259cc7c45d0eaec7d42e61fa38c8e4fb /src/pkg/net/net.go | |
parent | c072558b90f1bbedc2022b0f30c8b1ac4712538e (diff) | |
download | golang-50104cc32a498f7517a51c8dc93106c51c7a54b4.tar.gz |
Imported Upstream version 2011.03.07.1upstream/2011.03.07.1
Diffstat (limited to 'src/pkg/net/net.go')
-rw-r--r-- | src/pkg/net/net.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pkg/net/net.go b/src/pkg/net/net.go index c0c1c3b8a..04a898a9a 100644 --- a/src/pkg/net/net.go +++ b/src/pkg/net/net.go @@ -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. |