diff options
Diffstat (limited to '')
-rw-r--r-- | src/construct/blank_line.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/construct/blank_line.rs b/src/construct/blank_line.rs index b12c2c4..22dfdc0 100644 --- a/src/construct/blank_line.rs +++ b/src/construct/blank_line.rs @@ -47,7 +47,11 @@ use crate::tokenizer::{State, StateName, Tokenizer}; /// ``` pub fn start(tokenizer: &mut Tokenizer) -> State { let state_name = space_or_tab(tokenizer); - tokenizer.attempt_opt(state_name, StateName::BlankLineAfter) + tokenizer.attempt( + state_name, + State::Fn(StateName::BlankLineAfter), + State::Fn(StateName::BlankLineAfter), + ) } /// After zero or more spaces or tabs, before a line ending or EOF. |