summaryrefslogtreecommitdiff
path: root/src/pkg/xml/read.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/xml/read.go')
-rw-r--r--src/pkg/xml/read.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/xml/read.go b/src/pkg/xml/read.go
index 152a80dc0..a33188e26 100644
--- a/src/pkg/xml/read.go
+++ b/src/pkg/xml/read.go
@@ -128,9 +128,7 @@ func Unmarshal(r io.Reader, val interface{}) os.Error {
// An UnmarshalError represents an error in the unmarshalling process.
type UnmarshalError string
-func (e UnmarshalError) String() string {
- return string(e);
-}
+func (e UnmarshalError) String() string { return string(e) }
// The Parser's Unmarshal method is like xml.Unmarshal
// except that it can be passed a pointer to the initial start element,