We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6331c3a commit 19b6cbbCopy full SHA for 19b6cbb
src/reader.rs
@@ -46,8 +46,8 @@ impl<R: Read> EventReader<R> {
46
47
/// Pulls and returns next XML event from the stream.
48
///
49
- /// If returned event is `XmlEvent::Error` or `XmlEvent::EndDocument`, then
50
- /// further calls to this method will return this event again.
+ /// If this returns [Err] or [XmlEvent::EndDocument] then further calls to
+ /// this method will return this event again.
51
#[inline]
52
pub fn next(&mut self) -> Result<XmlEvent> {
53
self.parser.next(&mut self.source)
0 commit comments