From 0eaaca29eff7930d5bd8264e054637afcb835351 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Mon, 27 Jun 2022 20:48:50 -0700 Subject: [PATCH] Fix typo in xml example This was noticed by @deining in #428 Closes #428 --- examples/xml/xml.go | 2 +- examples/xml/xml.hash | 4 ++-- public/xml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/xml/xml.go b/examples/xml/xml.go index 9870377..4affc12 100644 --- a/examples/xml/xml.go +++ b/examples/xml/xml.go @@ -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. diff --git a/examples/xml/xml.hash b/examples/xml/xml.hash index b9354ae..56c0a9a 100644 --- a/examples/xml/xml.hash +++ b/examples/xml/xml.hash @@ -1,2 +1,2 @@ -d5da1784f3aa0bbba452d21c70833621a62159f4 -RsNLhMBazeX +4b9dfaf797591099f6fcb762241289b1662a9250 +OVq7kNMk0GR diff --git a/public/xml b/public/xml index 30f84ad..26752fe 100644 --- a/public/xml +++ b/public/xml @@ -42,7 +42,7 @@ formats with the encoding.xml package.

- +
package main
 
@@ -145,7 +145,7 @@ it explicitly.

-

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.