From: Thomas Karpiniec Date: Mon, 16 Dec 2024 09:03:11 +0000 (+1100) Subject: Fix clippy lint for write! vs writeln! X-Git-Tag: v0.5.0 X-Git-Url: https://code.octet-stream.net/hashgood/commitdiff_plain/refs/tags/v0.5.0 Fix clippy lint for write! vs writeln! --- diff --git a/src/display.rs b/src/display.rs index 1a3b243..07eb83f 100644 --- a/src/display.rs +++ b/src/display.rs @@ -80,7 +80,7 @@ fn print_pointer_line( write!(&mut stdout, "{}{}", marker, marker)?; } } - write!(&mut stdout, "\n")?; + writeln!(&mut stdout)?; Ok(()) }