From fb8a4c4a553813d47b11cba9d438fafa423a8109 Mon Sep 17 00:00:00 2001 From: Noah Hellman Date: Sat, 21 Jan 2023 20:50:49 +0100 Subject: [PATCH] fixup! 427f999d61542d21221da4626ebbabb3ded51d63 --- src/tree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tree.rs b/src/tree.rs index f76a876..49379e4 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -244,7 +244,7 @@ impl std::fmt::Debug for fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { const INDENT: &str = " "; let mut level = 0; - write!(f, "\n")?; + writeln!(f)?; for e in self.clone() { let indent = INDENT.repeat(level); match e.kind {