diff options
author | Dmitri Shuralyov <dmitshur@golang.org> | 2022-07-21 17:09:35 -0400 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2022-07-21 22:58:07 +0000 |
commit | 076c3d7f077ff0f8d02675b66b9794bbff8d2147 (patch) | |
tree | 3da98d3bf0c78f16176b5b0fe9a7abaef994650b | |
parent | c4a6d3048bb89f372662083695f957f22973e4a6 (diff) | |
download | go-076c3d7f077ff0f8d02675b66b9794bbff8d2147.tar.gz go-076c3d7f077ff0f8d02675b66b9794bbff8d2147.zip |
net/http: remove accidental heading in Head documentation
This short sentence was missing a period at the end, which caused it
to be interpreted as a heading. It also gained a '# ' prefix as part
of new gofmt formatting applied in CL 384268. This change makes it a
regular sentence as originally intended.
Updates #51082.
Change-Id: I100410cca21e4f91130f1f3432327bb6d66b12a2
Reviewed-on: https://go-review.googlesource.com/c/go/+/418959
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
-rw-r--r-- | src/net/http/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/client.go b/src/net/http/client.go index 490349f7bd..992817c0f5 100644 --- a/src/net/http/client.go +++ b/src/net/http/client.go @@ -896,7 +896,7 @@ func (c *Client) PostForm(url string, data url.Values) (resp *Response, err erro // 307 (Temporary Redirect) // 308 (Permanent Redirect) // -// # Head is a wrapper around DefaultClient.Head +// Head is a wrapper around DefaultClient.Head. // // To make a request with a specified context.Context, use NewRequestWithContext // and DefaultClient.Do. |