]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.10: fix formatting of 'go tool fix' examples
authorTobias Klauser <tklauser@distanz.ch>
Thu, 14 Dec 2017 09:48:53 +0000 (10:48 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 14 Dec 2017 17:02:00 +0000 (17:02 +0000)
Also remove a superfluous </p>

Change-Id: Idca51cdfbd8abc6669f00c80ca3fb7f225ee445c
Reviewed-on: https://go-review.googlesource.com/84015
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/go1.10.html

index 3f530dd6e2ff0256e3ea1c65925d5d311bed043a..2f5d74ea2f6061dcbef6df2b786d5a0e9b1eeaa9 100644 (file)
@@ -296,8 +296,8 @@ zero-initialized with the constant <code>0</code> instead of the
 constant <code>nil</code>. Go 1.10 provides <code>gofix</code>
 modules to help with that rewrite:
 <pre>
-       go tool fix -r cftype <pkg>
-       go tool fix -r jni <pkg>
+go tool fix -r cftype &lt;pkg&gt;
+go tool fix -r jni &lt;pkg&gt;
 </pre>
 </p>
 
@@ -1319,7 +1319,6 @@ that could previously unmarshal into such fields
 but no longer can.
 For example, see the <a href="#encoding/json"><code>encoding/json</code> notes</a>.
 </p>
-</p>
 </dl>
 
 <dl id="runtime/pprof"><dt><a href="/pkg/runtime/pprof/">runtime/pprof</a></dt>