mirror of https://github.com/golang/go.git
net: fix misleading package comment example
Fixes #8607 LGTM=r R=r CC=golang-codereviews https://golang.org/cl/146470043
This commit is contained in:
parent
bd72d2c650
commit
dca460574f
|
|
@ -32,7 +32,6 @@ The Listen function creates servers:
|
||||||
conn, err := ln.Accept()
|
conn, err := ln.Accept()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// handle error
|
// handle error
|
||||||
continue
|
|
||||||
}
|
}
|
||||||
go handleConnection(conn)
|
go handleConnection(conn)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue