summaryrefslogtreecommitdiff
path: root/src/net/http/request.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2016-04-05 20:01:50 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2016-04-06 00:17:51 +0000
commitcb284313f7e24319e7d22a551bd04ad9632db659 (patch)
treeda472c1a3eda6a5723614a829a34ebc113fcc722 /src/net/http/request.go
parent5ba797bd189b460854a0aea877381abcaef8105b (diff)
downloadgo-git-cb284313f7e24319e7d22a551bd04ad9632db659.tar.gz
net/http, net/http/httputil: start with capitals in deprecation sentences
Fixes #15139 Change-Id: I73111137907e612af871b77ccf166572bf78c840 Reviewed-on: https://go-review.googlesource.com/21544 Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/net/http/request.go')
-rw-r--r--src/net/http/request.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/request.go b/src/net/http/request.go
index 371d36b097..5510691912 100644
--- a/src/net/http/request.go
+++ b/src/net/http/request.go
@@ -249,7 +249,7 @@ type Request struct {
//
// For server requests, this field is not applicable.
//
- // Deprecated: use the Context and WithContext methods
+ // Deprecated: Use the Context and WithContext methods
// instead. If a Request's Cancel field and context are both
// set, it is undefined whether Cancel is respected.
Cancel <-chan struct{}