mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
clippy lint
This commit is contained in:
parent
f96e23b0f6
commit
2e2f3b0bc4
@ -460,7 +460,7 @@ Server Debug Commands:
|
|||||||
let (message, truncated) = if message.len() > 64 {
|
let (message, truncated) = if message.len() > 64 {
|
||||||
(&message[0..64], true)
|
(&message[0..64], true)
|
||||||
} else {
|
} else {
|
||||||
(&message[..], false)
|
(message, false)
|
||||||
};
|
};
|
||||||
|
|
||||||
let strmsg = if printable {
|
let strmsg = if printable {
|
||||||
|
Loading…
Reference in New Issue
Block a user