diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-08 13:26:23 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-08 13:26:23 +0200 |
commit | c1b325a6dcf4bb8795dd2e5b2cdb1dcfcf61faf5 (patch) | |
tree | a94fc69206c3d493028845030f5d9beb3fce48bd /src/construct | |
parent | bd0cb0d0395abb06941960938aacc3639148a96c (diff) | |
download | markdown-rs-c1b325a6dcf4bb8795dd2e5b2cdb1dcfcf61faf5.tar.gz markdown-rs-c1b325a6dcf4bb8795dd2e5b2cdb1dcfcf61faf5.tar.bz2 markdown-rs-c1b325a6dcf4bb8795dd2e5b2cdb1dcfcf61faf5.zip |
Fix closing of flow when exiting containers
Diffstat (limited to '')
-rw-r--r-- | src/construct/code_fenced.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/construct/code_fenced.rs b/src/construct/code_fenced.rs index e2165a9..c7b2334 100644 --- a/src/construct/code_fenced.rs +++ b/src/construct/code_fenced.rs @@ -568,6 +568,7 @@ fn content_continue(tokenizer: &mut Tokenizer, code: Code, info: Info) -> StateF /// console.log('1') /// ~~~| /// ``` +#[allow(clippy::needless_pass_by_value)] fn after(tokenizer: &mut Tokenizer, code: Code, info: Info) -> StateFnResult { tokenizer.exit(Token::CodeFenced); // Feel free to interrupt. |