aboutsummaryrefslogtreecommitdiff
path: root/src/fmt
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2017-08-19 22:33:51 +0200
committerDaniel Martí <mvdan@mvdan.cc>2017-08-26 15:09:09 +0000
commit99da8730b0b95da2c366135c8dc95dcfaf9c3715 (patch)
tree49b26739802e280ecddd0a18f586222adbba5410 /src/fmt
parentbad6b6fa9190e9079a6d6958859856a66f0fab87 (diff)
downloadgo-99da8730b0b95da2c366135c8dc95dcfaf9c3715.tar.xz
all: remove some double spaces from comments
Went mainly for the ones that make no sense, such as the ones mid-sentence or after commas. Change-Id: Ie245d2c19cc7428a06295635cf6a9482ade25ff0 Reviewed-on: https://go-review.googlesource.com/57293 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/fmt')
-rw-r--r--src/fmt/print.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt/print.go b/src/fmt/print.go
index d1c99c1cd3..38ce928fc0 100644
--- a/src/fmt/print.go
+++ b/src/fmt/print.go
@@ -837,7 +837,7 @@ func (p *pp) printValue(value reflect.Value, verb rune, depth int) {
p.buf.WriteByte(']')
}
case reflect.Ptr:
- // pointer to array or slice or struct? ok at top level
+ // pointer to array or slice or struct? ok at top level
// but not embedded (avoid loops)
if depth == 0 && f.Pointer() != 0 {
switch a := f.Elem(); a.Kind() {