From 2e2f3b0bc4dbb791a4469c8fb77e82bda0dcbcf7 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sun, 10 Dec 2023 19:25:49 -0500 Subject: [PATCH] clippy lint --- veilid-cli/src/command_processor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/veilid-cli/src/command_processor.rs b/veilid-cli/src/command_processor.rs index fae1a43f..cc5d13e1 100644 --- a/veilid-cli/src/command_processor.rs +++ b/veilid-cli/src/command_processor.rs @@ -460,7 +460,7 @@ Server Debug Commands: let (message, truncated) = if message.len() > 64 { (&message[0..64], true) } else { - (&message[..], false) + (message, false) }; let strmsg = if printable {