mirror of https://github.com/golang/go.git
doc/go1.10: fix formatting of 'go tool fix' examples
Also remove a superfluous </p> Change-Id: Idca51cdfbd8abc6669f00c80ca3fb7f225ee445c Reviewed-on: https://go-review.googlesource.com/84015 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
94d7c884c3
commit
fa904420f2
|
|
@ -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>
|
constant <code>nil</code>. Go 1.10 provides <code>gofix</code>
|
||||||
modules to help with that rewrite:
|
modules to help with that rewrite:
|
||||||
<pre>
|
<pre>
|
||||||
go tool fix -r cftype <pkg>
|
go tool fix -r cftype <pkg>
|
||||||
go tool fix -r jni <pkg>
|
go tool fix -r jni <pkg>
|
||||||
</pre>
|
</pre>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
@ -1319,7 +1319,6 @@ that could previously unmarshal into such fields
|
||||||
but no longer can.
|
but no longer can.
|
||||||
For example, see the <a href="#encoding/json"><code>encoding/json</code> notes</a>.
|
For example, see the <a href="#encoding/json"><code>encoding/json</code> notes</a>.
|
||||||
</p>
|
</p>
|
||||||
</p>
|
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<dl id="runtime/pprof"><dt><a href="/pkg/runtime/pprof/">runtime/pprof</a></dt>
|
<dl id="runtime/pprof"><dt><a href="/pkg/runtime/pprof/">runtime/pprof</a></dt>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue