aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/code_indented.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/construct/code_indented.rs')
-rw-r--r--src/construct/code_indented.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/construct/code_indented.rs b/src/construct/code_indented.rs
index 6c528ff..f223633 100644
--- a/src/construct/code_indented.rs
+++ b/src/construct/code_indented.rs
@@ -119,7 +119,7 @@ fn after(tokenizer: &mut Tokenizer, _code: Code) -> State {
tokenizer.exit(Token::CodeIndented);
// Feel free to interrupt.
tokenizer.interrupt = false;
- State::Ok(0)
+ State::Ok
}
/// Right at a line ending, trying to parse another indent.
@@ -155,7 +155,7 @@ fn further_start(tokenizer: &mut Tokenizer, code: Code) -> State {
/// ^
/// ```
fn further_end(_tokenizer: &mut Tokenizer, _code: Code) -> State {
- State::Ok(0)
+ State::Ok
}
/// At the beginning of a line that is not indented enough.