clippy lint

This commit is contained in:
John Smith 2023-12-10 19:25:49 -05:00 committed by Christien Rioux
parent f96e23b0f6
commit 2e2f3b0bc4

View File

@ -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 {