From 5ac7f77839aa083b27e8b385e11e846f6602bbb7 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Thu, 21 Jul 2022 17:09:35 -0400 Subject: [PATCH] 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 Reviewed-by: Dmitri Shuralyov TryBot-Result: Gopher Robot Auto-Submit: Dmitri Shuralyov Reviewed-by: Ian Lance Taylor --- src/net/http/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/http/client.go b/src/net/http/client.go index 490349f7bd01a3..992817c0f5fede 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.