From c29d463adfe9a4a23568fb40d920a3d8e1a1be3c Mon Sep 17 00:00:00 2001 From: Dane Johnson Date: Mon, 18 Nov 2024 21:25:06 -0600 Subject: [PATCH] Clippy pass --- src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(()) }