From 1f78cb0ee1ccba7e713365861759c76d8bb96146 Mon Sep 17 00:00:00 2001 From: Erin Date: Mon, 7 Jun 2021 22:24:43 +0200 Subject: [PATCH] Added missing mut --- src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.rs b/src/parser.rs index a9c6a57d..e1156418 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -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; }