diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-25 16:27:45 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-25 16:27:45 +0200 |
commit | 79fe341efc4d5e7467ec08cb7d0688b17a9efb05 (patch) | |
tree | 041c6fdf5821d27b8510005f847a3bf4488a3bf6 /src/construct/code_indented.rs | |
parent | ca56f2742d8719358d2046fbdee4f1087add0568 (diff) | |
download | markdown-rs-79fe341efc4d5e7467ec08cb7d0688b17a9efb05.tar.gz markdown-rs-79fe341efc4d5e7467ec08cb7d0688b17a9efb05.tar.bz2 markdown-rs-79fe341efc4d5e7467ec08cb7d0688b17a9efb05.zip |
Remove no longer needed field in `State::Ok`
Diffstat (limited to 'src/construct/code_indented.rs')
-rw-r--r-- | src/construct/code_indented.rs | 4 |
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. |