diff options
Diffstat (limited to 'src/parse/ast/statement.rs')
| -rw-r--r-- | src/parse/ast/statement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/ast/statement.rs b/src/parse/ast/statement.rs index 7eb9978..7ed91dc 100644 --- a/src/parse/ast/statement.rs +++ b/src/parse/ast/statement.rs @@ -32,7 +32,7 @@ impl Statement { depth: usize, ) -> std::fmt::Result { let pad = " ".repeat(depth); - match self.kind { + match &self.kind { StatementKind::Expression(expression) => expression.nested_fmt(f, depth)?, StatementKind::Print(expression) => { writeln!(f, "{}Print:", pad)?; |
