From 79fe341efc4d5e7467ec08cb7d0688b17a9efb05 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 25 Jul 2022 16:27:45 +0200 Subject: Remove no longer needed field in `State::Ok` --- src/construct/code_indented.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/construct/code_indented.rs') 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. -- cgit