aboutsummaryrefslogtreecommitdiff
path: root/src/path
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2022-01-30 20:11:47 -0500
committerRuss Cox <rsc@golang.org>2022-04-01 18:18:07 +0000
commit690ac4071fa3e07113bf371c9e74394ab54d6749 (patch)
tree668fba312c6e891b11dce2c3db163312d3ed8fde /src/path
parent89dff118ada91061350aa149b54a2ab4fdbd6810 (diff)
downloadgo-690ac4071fa3e07113bf371c9e74394ab54d6749.tar.gz
go-690ac4071fa3e07113bf371c9e74394ab54d6749.zip
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/path')
-rw-r--r--src/path/filepath/match.go1
-rw-r--r--src/path/match.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/path/filepath/match.go b/src/path/filepath/match.go
index c77a26952a..847a78133d 100644
--- a/src/path/filepath/match.go
+++ b/src/path/filepath/match.go
@@ -40,7 +40,6 @@ var ErrBadPattern = errors.New("syntax error in pattern")
//
// On Windows, escaping is disabled. Instead, '\\' is treated as
// path separator.
-//
func Match(pattern, name string) (matched bool, err error) {
Pattern:
for len(pattern) > 0 {
diff --git a/src/path/match.go b/src/path/match.go
index 918624c60e..673bbc7ff6 100644
--- a/src/path/match.go
+++ b/src/path/match.go
@@ -34,7 +34,6 @@ var ErrBadPattern = errors.New("syntax error in pattern")
// Match requires pattern to match all of name, not just a substring.
// The only possible returned error is ErrBadPattern, when pattern
// is malformed.
-//
func Match(pattern, name string) (matched bool, err error) {
Pattern:
for len(pattern) > 0 {