From a73a5538db4b3604a247c3e1a1ef24fdef88135c Mon Sep 17 00:00:00 2001 From: Timon Date: Sat, 28 Jan 2023 10:54:47 +0100 Subject: [PATCH] fmtr --- src/cursor/sys/windows.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/cursor/sys/windows.rs b/src/cursor/sys/windows.rs index bd63918e..eaee0aa6 100644 --- a/src/cursor/sys/windows.rs +++ b/src/cursor/sys/windows.rs @@ -134,18 +134,14 @@ impl ScreenBufferCursor { if x < 0 { return Err(io::Error::new( io::ErrorKind::Other, - format!( - "Argument Out of Range Exception when setting cursor position to X: {x}" - ), + format!("Argument Out of Range Exception when setting cursor position to X: {x}"), )); } if y < 0 { return Err(io::Error::new( io::ErrorKind::Other, - format!( - "Argument Out of Range Exception when setting cursor position to Y: {y}" - ), + format!("Argument Out of Range Exception when setting cursor position to Y: {y}"), )); }