From fa904420f2d09df1a95b0e1bef098951a30af279 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 14 Dec 2017 10:48:53 +0100 Subject: [PATCH] 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 --- doc/go1.10.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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
-- 2.50.0