Fix typo in xml example

This was noticed by @deining in #428

Closes #428
This commit is contained in:
Eli Bendersky 2022-06-27 20:48:50 -07:00
parent f197dfc6e1
commit 0eaaca29ef
3 changed files with 5 additions and 5 deletions

View File

@ -41,7 +41,7 @@ func main() {
// it explicitly.
fmt.Println(xml.Header + string(out))
// Use `Unmarhshal` to parse a stream of bytes with XML
// Use `Unmarshal` to parse a stream of bytes with XML
// into a data structure. If the XML is malformed or
// cannot be mapped onto Plant, a descriptive error
// will be returned.

View File

@ -1,2 +1,2 @@
d5da1784f3aa0bbba452d21c70833621a62159f4
RsNLhMBazeX
4b9dfaf797591099f6fcb762241289b1662a9250
OVq7kNMk0GR

4
public/xml generated
View File

@ -42,7 +42,7 @@ formats with the <code>encoding.xml</code> package.</p>
</td>
<td class="code leading">
<a href="https://go.dev/play/p/RsNLhMBazeX"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
<a href="https://go.dev/play/p/OVq7kNMk0GR"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
<pre class="chroma"><span class="kn">package</span> <span class="nx">main</span>
</pre>
</td>
@ -145,7 +145,7 @@ it explicitly.</p>
<tr>
<td class="docs">
<p>Use <code>Unmarhshal</code> to parse a stream of bytes with XML
<p>Use <code>Unmarshal</code> to parse a stream of bytes with XML
into a data structure. If the XML is malformed or
cannot be mapped onto Plant, a descriptive error
will be returned.</p>