]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix name of result parameter in a comment
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 9 Oct 2012 18:16:35 +0000 (11:16 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 9 Oct 2012 18:16:35 +0000 (11:16 -0700)
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/6632053

src/pkg/net/http/client.go

index ad06fde0359ec7faca9364855cd00fe12e7429fd..02891db9adc8bc3d7f0279f481aedd2383f8b6f6 100644 (file)
@@ -96,7 +96,7 @@ type readClose struct {
 //
 // When err is nil, resp always contains a non-nil resp.Body.
 //
-// Callers should close res.Body when done reading from it. If
+// Callers should close resp.Body when done reading from it. If
 // resp.Body is not closed, the Client's underlying RoundTripper
 // (typically Transport) may not be able to re-use a persistent TCP
 // connection to the server for a subsequent "keep-alive" request.