From 1c819cb194be25fa357ac478b07705f0aaa4c1bc Mon Sep 17 00:00:00 2001 From: Evan Shaw Date: Tue, 5 Jan 2010 16:50:52 -0800 Subject: [PATCH] xml: Fix comment so that example code compiles R=rsc CC=golang-dev https://golang.org/cl/181138 --- src/pkg/xml/read.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/xml/read.go b/src/pkg/xml/read.go index c1defe5e72..4865c064a4 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 // -- 2.50.0