summaryrefslogtreecommitdiff
path: root/src/tokenizer
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-29 14:58:12 +0100
committerMartin Fischer <martin@push-f.com>2021-11-29 15:11:01 +0100
commit921a0354873c3038acfe3fb121fac31992fb849d (patch)
treea5ead4ef87472224da3b98e3dfd2fe309f2d4c6b /src/tokenizer
parentd9800cced5f66f989adf42d8b3dfbc1bf0825cee (diff)
remove Tokenizer::set_plaintext_state
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));