diff options
Diffstat (limited to 'src/construct/mdx_esm.rs')
-rw-r--r-- | src/construct/mdx_esm.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/construct/mdx_esm.rs b/src/construct/mdx_esm.rs index 47e11a3..13d7991 100644 --- a/src/construct/mdx_esm.rs +++ b/src/construct/mdx_esm.rs @@ -216,7 +216,7 @@ fn parse_esm(tokenizer: &mut Tokenizer) -> State { State::Error(format!("{}:{}: {}", point.line, point.column, message)) } MdxSignal::Eof(message) => { - if tokenizer.current == None { + if tokenizer.current.is_none() { State::Error(format!( "{}:{}: {}", tokenizer.point.line, tokenizer.point.column, message |