From 69d73a1e6ca6798d880d79d0e5687c7a86019dd8 Mon Sep 17 00:00:00 2001 From: Thomas Karpiniec Date: Mon, 16 Dec 2024 20:03:11 +1100 Subject: [PATCH 1/1] Fix clippy lint for write! vs writeln! --- src/display.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(()) } -- 2.39.5