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, 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,