summaryrefslogtreecommitdiff
path: root/libgo/go/cmd/gofmt/rewrite.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/cmd/gofmt/rewrite.go')
-rw-r--r--libgo/go/cmd/gofmt/rewrite.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/cmd/gofmt/rewrite.go b/libgo/go/cmd/gofmt/rewrite.go
index d267cfcc1dc..069f96622ca 100644
--- a/libgo/go/cmd/gofmt/rewrite.go
+++ b/libgo/go/cmd/gofmt/rewrite.go
@@ -154,7 +154,7 @@ func isWildcard(s string) bool {
return size == len(s) && unicode.IsLower(rune)
}
-// match returns true if pattern matches val,
+// match reports whether pattern matches val,
// recording wildcard submatches in m.
// If m == nil, match checks whether pattern == val.
func match(m map[string]reflect.Value, pattern, val reflect.Value) bool {