net/http: fix copy-paste error in the ServeTLS docs

Change-Id: Id7f0d978ce5b0471a404d6e6673b789e7db04650
Reviewed-on: https://go-review.googlesource.com/65653
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Ian Kent 2017-09-23 21:45:35 +01:00 committed by Brad Fitzpatrick
parent 3e97c42f77
commit 17f35c6993
1 changed files with 1 additions and 1 deletions

View File

@ -2349,7 +2349,7 @@ func Serve(l net.Listener, handler Handler) error {
return srv.Serve(l)
}
// Serve accepts incoming HTTPS connections on the listener l,
// ServeTLS accepts incoming HTTPS connections on the listener l,
// creating a new service goroutine for each. The service goroutines
// read requests and then call handler to reply to them.
//