diff options
| author | Russ Cox <rsc@golang.org> | 2022-01-30 20:11:47 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2022-04-01 18:18:07 +0000 |
| commit | 690ac4071fa3e07113bf371c9e74394ab54d6749 (patch) | |
| tree | 668fba312c6e891b11dce2c3db163312d3ed8fde /src/net/http | |
| parent | 89dff118ada91061350aa149b54a2ab4fdbd6810 (diff) | |
| download | go-690ac4071fa3e07113bf371c9e74394ab54d6749.tar.xz | |
all: remove trailing blank doc comment lines
A future change to gofmt will rewrite
// Doc comment.
//
func f()
to
// Doc comment.
func f()
Apply that change preemptively to all doc comments.
For #51082.
Change-Id: I4023e16cfb0729b64a8590f071cd92f17343081d
Reviewed-on: https://go-review.googlesource.com/c/go/+/384259
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/net/http')
| -rw-r--r-- | src/net/http/client.go | 1 | ||||
| -rw-r--r-- | src/net/http/fs.go | 1 | ||||
| -rw-r--r-- | src/net/http/transport.go | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/net/http/client.go b/src/net/http/client.go index 465ee0b723..bc0ed1fc50 100644 --- a/src/net/http/client.go +++ b/src/net/http/client.go @@ -54,7 +54,6 @@ import ( // with the expectation that the Jar will insert those mutated cookies // with the updated values (assuming the origin matches). // If Jar is nil, the initial cookies are forwarded without change. -// type Client struct { // Transport specifies the mechanism by which individual // HTTP requests are made. diff --git a/src/net/http/fs.go b/src/net/http/fs.go index 6caee9ed93..d8f924296b 100644 --- a/src/net/http/fs.go +++ b/src/net/http/fs.go @@ -836,7 +836,6 @@ func FS(fsys fs.FS) FileSystem { // To use an fs.FS implementation, use http.FS to convert it: // // http.Handle("/", http.FileServer(http.FS(fsys))) -// func FileServer(root FileSystem) Handler { return &fileHandler{root} } diff --git a/src/net/http/transport.go b/src/net/http/transport.go index e41b20a15b..f2d538b04a 100644 --- a/src/net/http/transport.go +++ b/src/net/http/transport.go @@ -1795,7 +1795,6 @@ var _ io.ReaderFrom = (*persistConnWriter)(nil) // socks5://proxy.com|https|foo.com socks5 to proxy, then https to foo.com // https://proxy.com|https|foo.com https to proxy, then CONNECT to foo.com // https://proxy.com|http https to proxy, http to anywhere after that -// type connectMethod struct { _ incomparable proxyURL *url.URL // nil for no proxy, else full proxy URL |
