From 738fafa095a7b0522d4bbfa11fadfa6688f647f9 Mon Sep 17 00:00:00 2001 From: kumavale Date: Tue, 31 Dec 2024 15:50:50 +0900 Subject: [PATCH] chore: clippy --- src/repl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repl.rs b/src/repl.rs index 45c78a2..66ed2e4 100644 --- a/src/repl.rs +++ b/src/repl.rs @@ -548,7 +548,7 @@ where // If `--instead-crlf` is true, change to "\r\n" if *flags.lock().unwrap().instead_crlf() && key == Key::Char('\r') { // Send carriage return - port.send(&[ b'\r', b'\n' ]); + port.send(b"\r\n"); continue; }