1
0
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:
Scott Lawrence 2011-06-18 21:53:18 +10:00 committed by Rob Pike
parent 17805ddb6f
commit 3c06518405

View File

@ -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)
}