diff options
Diffstat (limited to '')
-rw-r--r-- | src/construct/heading_atx.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/construct/heading_atx.rs b/src/construct/heading_atx.rs index 68a6be7..4546924 100644 --- a/src/construct/heading_atx.rs +++ b/src/construct/heading_atx.rs @@ -258,5 +258,5 @@ pub fn resolve(tokenizer: &mut Tokenizer) -> Vec<Event> { index += 1; } - edit_map.consume(&mut tokenizer.events) + edit_map.consume(tokenizer.events.split_off(0)) } |