diff options
Diffstat (limited to 'src/construct/gfm_autolink_literal.rs')
-rw-r--r-- | src/construct/gfm_autolink_literal.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/construct/gfm_autolink_literal.rs b/src/construct/gfm_autolink_literal.rs index 5438e36..cc9194d 100644 --- a/src/construct/gfm_autolink_literal.rs +++ b/src/construct/gfm_autolink_literal.rs @@ -334,7 +334,7 @@ pub fn www_prefix_inside(tokenizer: &mut Tokenizer) -> State { /// ``` pub fn www_prefix_after(tokenizer: &mut Tokenizer) -> State { // If there is *anything*, we can link. - if tokenizer.current == None { + if tokenizer.current.is_none() { State::Nok } else { State::Ok |