Update error.go

Fix typo in comment
This commit is contained in:
Mickael Remond 2019-06-26 18:25:17 +02:00 committed by Mickaël Rémond
parent 1971772394
commit 0ee4764d31

View file

@ -27,7 +27,7 @@ func (x *Err) Namespace() string {
return x.XMLName.Space
}
// UnmarshalXML implements custom parsing for IQs
// UnmarshalXML implements custom parsing for XMPP errors
func (x *Err) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
x.XMLName = start.Name