1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

fix some clippy warnings

This commit is contained in:
Sylvestre Ledru 2023-06-25 22:29:08 +02:00
parent 0b06f2b4a8
commit 644fd1c93e

View file

@ -72,10 +72,10 @@ impl Display for SeqError {
f, f,
"{}{}", "{}{}",
self.argtype(), self.argtype(),
if self.arg() != "" { if self.arg() == "" {
self.arg().quote().to_string() String::new()
} else { } else {
"".to_string() self.arg().quote().to_string()
} }
) )
} }