Added missing mut

This commit is contained in:
Erin 2021-06-07 22:24:43 +02:00 committed by ondra05
parent 902d8b914c
commit 1f78cb0ee1

View file

@ -39,7 +39,7 @@ impl<'source> Parser<'source> {
// T-Dark block (replace `lang` with `script`)
Token::TDark => {
self.tdark = true;
let block = self.get_block()?;
let mut block = self.get_block()?;
ast.append(&mut block.block);
self.tdark = false;
}