From 9d430b6f477fd8991ce217dffdbce8fbd28dcd7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Tue, 10 Aug 2021 19:08:53 -0400 Subject: [PATCH] fix(reporter): fix missing newline before help text --- src/reporter.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/reporter.rs b/src/reporter.rs index 6fb4e0ee..c49e2da6 100644 --- a/src/reporter.rs +++ b/src/reporter.rs @@ -135,7 +135,9 @@ impl DiagnosticReporter for MietteReporter { } if let Some(help) = diagnostic.help() { - writeln!(f, "﹦{}", help)?; + writeln!(f)?; + writeln!(f)?; + write!(f, "﹦{}", help)?; } Ok(())