From: Evan Shaw Date: Wed, 6 Jan 2010 00:50:52 +0000 (-0800) Subject: xml: Fix comment so that example code compiles X-Git-Tag: weekly.2010-01-05~3 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1c819cb194be25fa357ac478b07705f0aaa4c1bc;p=gostls13.git xml: Fix comment so that example code compiles R=rsc CC=golang-dev https://golang.org/cl/181138 --- 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 //