diff options
Diffstat (limited to '')
-rw-r--r-- | src/construct/hard_break_trailing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/construct/hard_break_trailing.rs b/src/construct/hard_break_trailing.rs index 8ce4201..35097ec 100644 --- a/src/construct/hard_break_trailing.rs +++ b/src/construct/hard_break_trailing.rs @@ -81,7 +81,7 @@ fn inside(tokenizer: &mut Tokenizer, code: Code, size: usize) -> State { { tokenizer.exit(Token::HardBreakTrailingSpace); tokenizer.exit(Token::HardBreakTrailing); - State::Ok(if matches!(code, Code::None) { 0 } else { 1 }) + State::Ok(0) } _ => State::Nok, } |