diff options
author | Martin Fischer <martin@push-f.com> | 2023-09-04 20:47:52 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2023-09-28 10:36:08 +0200 |
commit | bd446b6123e0b077a48e9f1e836affac78822f44 (patch) | |
tree | 67be9838c95e03e967c59992d34e18c2ca1947ea /src/tokenizer.rs | |
parent | 4e0057344381a50cd76419be170eab3d9389f034 (diff) |
chore: rename internal states as well
See the previous commit.
Diffstat (limited to 'src/tokenizer.rs')
-rw-r--r-- | src/tokenizer.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs index 4d3c534..661214c 100644 --- a/src/tokenizer.rs +++ b/src/tokenizer.rs @@ -119,9 +119,9 @@ impl From<State> for machine::State { fn from(state: State) -> Self { match state { State::Data => machine::State::Data, - State::Plaintext => machine::State::PlainText, - State::Rcdata => machine::State::RcData, - State::Rawtext => machine::State::RawText, + State::Plaintext => machine::State::Plaintext, + State::Rcdata => machine::State::Rcdata, + State::Rawtext => machine::State::Rawtext, State::ScriptData => machine::State::ScriptData, State::ScriptDataEscaped => machine::State::ScriptDataEscaped, State::ScriptDataDoubleEscaped => machine::State::ScriptDataDoubleEscaped, |