From: Tobias Klauser Date: Thu, 14 Dec 2017 09:48:53 +0000 (+0100) Subject: doc/go1.10: fix formatting of 'go tool fix' examples X-Git-Tag: go1.10beta2~111 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fa904420f2d09df1a95b0e1bef098951a30af279;p=gostls13.git doc/go1.10: fix formatting of 'go tool fix' examples Also remove a superfluous

Change-Id: Idca51cdfbd8abc6669f00c80ca3fb7f225ee445c Reviewed-on: https://go-review.googlesource.com/84015 Reviewed-by: Brad Fitzpatrick --- diff --git a/doc/go1.10.html b/doc/go1.10.html index 3f530dd6e2..2f5d74ea2f 100644 --- a/doc/go1.10.html +++ b/doc/go1.10.html @@ -296,8 +296,8 @@ zero-initialized with the constant 0 instead of the constant nil. Go 1.10 provides gofix modules to help with that rewrite:
-	go tool fix -r cftype 
-	go tool fix -r jni 
+go tool fix -r cftype <pkg>
+go tool fix -r jni <pkg>
 

@@ -1319,7 +1319,6 @@ that could previously unmarshal into such fields but no longer can. For example, see the encoding/json notes.

-

runtime/pprof