Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/reader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,7 @@ impl<R> Reader<R> {
/// Read text into the given buffer, and return an event that borrows from
/// either that buffer or from the input itself, based on the type of the
/// reader.
#[inline]
fn read_event_impl<'i, B>(&mut self, mut buf: B) -> Result<Event<'i>, Error>
where
R: XmlSource<'i, B>,
Expand All @@ -1012,6 +1013,7 @@ impl<R> Reader<R> {

/// Private function to read until `>` is found. This function expects that
/// it was called just after encounter a `<` symbol.
#[inline]
fn read_until_close<'i, B>(&mut self, buf: B) -> Result<Event<'i>, Error>
where
R: XmlSource<'i, B>,
Expand Down
Loading