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:
parent
0b06f2b4a8
commit
644fd1c93e
1 changed files with 3 additions and 3 deletions
|
@ -72,10 +72,10 @@ impl Display for SeqError {
|
|||
f,
|
||||
"{}{}",
|
||||
self.argtype(),
|
||||
if self.arg() != "" {
|
||||
self.arg().quote().to_string()
|
||||
if self.arg() == "" {
|
||||
String::new()
|
||||
} else {
|
||||
"".to_string()
|
||||
self.arg().quote().to_string()
|
||||
}
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue