aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tokenizer.rs')
-rw-r--r--src/tokenizer.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs
index 83c3965..d59710d 100644
--- a/src/tokenizer.rs
+++ b/src/tokenizer.rs
@@ -343,12 +343,6 @@ impl<R: Reader + Position<O>, O: Offset, E: Emitter<O>> Tokenizer<R, O, E> {
}
}
- pub(crate) fn next_input_character(&mut self) -> Result<Option<char>, R::Error> {
- let rv = self.read_char()?;
- self.unread_char(rv);
- Ok(rv)
- }
-
pub(crate) fn flush_buffer_characters(&mut self) {
self.emitter.emit_string(&self.temporary_buffer);
self.temporary_buffer.clear();