clippy: Remove useless format call.

This commit is contained in:
Bruce Mitchener
2018-09-23 14:26:28 +07:00
committed by Dan Gohman
parent e07e159bda
commit c8a65a721c

View File

@@ -264,7 +264,7 @@ fn main() {
result
}
_ => Err(format!("Invalid subcommand.")),
_ => Err("Invalid subcommand.".to_owned()),
};
if let Err(mut msg) = res_util {