Skip to content

Commit

Permalink
Remove superfluous code
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed May 13, 2023
1 parent e692ab0 commit 7340a46
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/construct/partial_mdx_jsx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1060,10 +1060,7 @@ pub fn es_whitespace_inside(tokenizer: &mut Tokenizer) -> State {
match tokenizer.current {
Some(b'\n') => {
tokenizer.exit(Name::MdxJsxEsWhitespace);
tokenizer.enter(Name::LineEnding);
tokenizer.consume();
tokenizer.exit(Name::LineEnding);
State::Next(StateName::MdxJsxEsWhitespaceEolAfter)
State::Retry(StateName::MdxJsxEsWhitespaceStart)
}
// Allow continuation bytes.
Some(0x80..=0xBF) => {
Expand Down

0 comments on commit 7340a46

Please sign in to comment.