Skip to content

Commit 62661b9

Browse files
committed
Merge pull request #11 from tomaka/master
Update to rustc d7e1bb5ff 2014-09-21 01:00:29 +0000
2 parents 418a377 + fdc021b commit 62661b9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/reader/events.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
use std::fmt;
44

55
use common;
6-
use common::{Name, Error, HasPosition, Attribute, XmlVersion};
6+
use common::{Name, HasPosition, Attribute, XmlVersion};
7+
use common::Error as CommonError;
78
use namespace::Namespace;
89

910
/// An element of an XML input stream.
@@ -117,7 +118,7 @@ pub enum XmlEvent {
117118
/// as is required by XML specification, [section 1.2][1].
118119
///
119120
/// [1]: http://www.w3.org/TR/2006/REC-xml11-20060816/#sec-terminology
120-
Error(common::Error)
121+
Error(CommonError)
121122
}
122123

123124
impl fmt::Show for XmlEvent {

0 commit comments

Comments
 (0)