clippy: Remove useless format call.
This commit is contained in:
committed by
Dan Gohman
parent
e07e159bda
commit
c8a65a721c
@@ -264,7 +264,7 @@ fn main() {
|
||||
|
||||
result
|
||||
}
|
||||
_ => Err(format!("Invalid subcommand.")),
|
||||
_ => Err("Invalid subcommand.".to_owned()),
|
||||
};
|
||||
|
||||
if let Err(mut msg) = res_util {
|
||||
|
||||
Reference in New Issue
Block a user