diff options
author | Martin Fischer <martin@push-f.com> | 2021-11-29 14:58:12 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-11-29 15:11:01 +0100 |
commit | 921a0354873c3038acfe3fb121fac31992fb849d (patch) | |
tree | a5ead4ef87472224da3b98e3dfd2fe309f2d4c6b /src | |
parent | d9800cced5f66f989adf42d8b3dfbc1bf0825cee (diff) |
remove Tokenizer::set_plaintext_state
Diffstat (limited to 'src')
-rw-r--r-- | src/tokenizer/mod.rs | 4 |
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)); |