1
0
mirror of https://github.com/golang/go synced 2024-11-15 11:10:22 -07:00

[release-branch.go1] net: fix comment on FileListener

««« backport 3dfcac5f8254
net: fix comment on FileListener

R=rsc
CC=golang-dev
https://golang.org/cl/6242067

»»»
This commit is contained in:
Mikio Hara 2012-06-13 16:24:26 -04:00
parent 4fcdfe1eb6
commit 35a1aa0420

View File

@ -89,8 +89,8 @@ func FileConn(f *os.File) (c Conn, err error) {
// FileListener returns a copy of the network listener corresponding
// to the open file f. It is the caller's responsibility to close l
// when finished. Closing c does not affect l, and closing l does not
// affect c.
// when finished. Closing l does not affect f, and closing f does not
// affect l.
func FileListener(f *os.File) (l Listener, err error) {
fd, err := newFileFD(f)
if err != nil {