From: Scott Lawrence Date: Sat, 18 Jun 2011 11:53:18 +0000 (+1000) Subject: http: fix documentation typo X-Git-Tag: weekly.2011-06-23~65 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3c065184059f77308953d7e4a340891fa4406b0d;p=gostls13.git 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 --- diff --git a/src/pkg/http/server.go b/src/pkg/http/server.go index 2f545f7102..ac5487fd53 100644 --- a/src/pkg/http/server.go +++ b/src/pkg/http/server.go @@ -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) }