From 5a7bb14370f2f4b76e6abd1e7be089e546a09a64 Mon Sep 17 00:00:00 2001 From: Evan Shaw Date: Tue, 5 Jan 2010 16:50:52 -0800 Subject: xml: Fix comment so that example code compiles R=rsc CC=golang-dev http://codereview.appspot.com/181138 Committer: Russ Cox --- src/pkg/xml/read.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pkg/xml/read.go') diff --git a/src/pkg/xml/read.go b/src/pkg/xml/read.go index c1defe5e7..4865c064a 100644 --- a/src/pkg/xml/read.go +++ b/src/pkg/xml/read.go @@ -39,7 +39,7 @@ import ( // Email []Email; // } // -// var result = Result{ "name", "phone", nil } +// result := Result{ Name: "name", Phone: "phone", Email: nil } // // unmarshalling the XML input // -- cgit v1.2.3