summaryrefslogtreecommitdiff
path: root/src/tokenizer
diff options
context:
space:
mode:
Diffstat (limited to 'src/tokenizer')
-rw-r--r--src/tokenizer/mod.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tokenizer/mod.rs b/src/tokenizer/mod.rs
index 3f637aa..38b9a69 100644
--- a/src/tokenizer/mod.rs
+++ b/src/tokenizer/mod.rs
@@ -218,10 +218,6 @@ impl<Sink: TokenSink> Tokenizer<Sink> {
self.run(input)
}
- pub fn set_plaintext_state(&mut self) {
- self.state = states::Plaintext;
- }
-
fn process_token(&mut self, token: Token) -> TokenSinkResult<Sink::Handle> {
if self.opts.profile {
let (ret, dt) = time!(self.sink.process_token(token, self.current_line));