mirror of
https://github.com/golang/go
synced 2024-11-19 14:54:43 -07:00
http: fix documentation typo
(Variable is referred to alternately as 'r' and 'req') R=golang-dev, r CC=golang-dev https://golang.org/cl/4648042
This commit is contained in:
parent
17805ddb6f
commit
3c06518405
@ -570,7 +570,7 @@ func (w *response) Hijack() (rwc net.Conn, buf *bufio.ReadWriter, err os.Error)
|
||||
// Handler object that calls f.
|
||||
type HandlerFunc func(ResponseWriter, *Request)
|
||||
|
||||
// ServeHTTP calls f(w, req).
|
||||
// ServeHTTP calls f(w, r).
|
||||
func (f HandlerFunc) ServeHTTP(w ResponseWriter, r *Request) {
|
||||
f(w, r)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user