]> Cypherpunks repositories - gostls13.git/commitdiff
doc: remove incorrect space in %T and %v output examples
authorGabriel Aszalos <gabriel.aszalos@gmail.com>
Mon, 7 Jan 2019 08:48:39 +0000 (09:48 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 7 Jan 2019 14:13:33 +0000 (14:13 +0000)
Change-Id: I321890237f703b945711e59c15233ccf59c4f190
Reviewed-on: https://go-review.googlesource.com/c/156477
Run-TryBot: Gabriel Aszalos <gabriel.aszalos@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/effective_go.html

index ddfea76d433ef422b84cc2b161d1d8ff2d902a5d..34131868a4c751a70f6add6353c6753889b016b1 100644 (file)
@@ -1710,7 +1710,7 @@ prints
 &amp;{7 -2.35 abc   def}
 &amp;{a:7 b:-2.35 c:abc     def}
 &amp;main.T{a:7, b:-2.35, c:"abc\tdef"}
-map[string] int{"CST":-21600, "PST":-28800, "EST":-18000, "UTC":0, "MST":-25200}
+map[string]int{"CST":-21600, "PST":-28800, "EST":-18000, "UTC":0, "MST":-25200}
 </pre>
 <p>
 (Note the ampersands.)
@@ -1733,7 +1733,7 @@ fmt.Printf(&quot;%T\n&quot;, timeZone)
 prints
 </p>
 <pre>
-map[string] int
+map[string]int
 </pre>
 <p>
 If you want to control the default format for a custom type, all that's required is to define