diff --git a/src/parser.rs b/src/parser.rs index e9cb611..399092f 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -218,7 +218,7 @@ impl fmt::Display for Stmt { } if let Some(block) = else_block { write!(f, "else")?; - write_block(f, &block)?; + write_block(f, block)?; } Ok(()) }