From 5137278942121bc2593ce6e5dc224ec2682549e6 Mon Sep 17 00:00:00 2001 From: Kevin K Date: Thu, 9 Apr 2015 21:43:26 -0400 Subject: [PATCH] fix(usage): remove unneeded space --- src/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.rs b/src/app.rs index 741f92c8157..117dc373168 100644 --- a/src/app.rs +++ b/src/app.rs @@ -464,7 +464,7 @@ impl<'a, 'v, 'ab, 'u, 'ar> App<'a, 'v, 'ab, 'u, 'ar>{ } else if req_opts.is_empty() { "[OPTIONS]".to_owned() } else { - format!("{}", &req_opts[..]) + req_opts }); } if pos { @@ -474,7 +474,7 @@ impl<'a, 'v, 'ab, 'u, 'ar> App<'a, 'v, 'ab, 'u, 'ar>{ } else if req_pos.is_empty() { "[POSITIONAL]".to_owned() } else { - format!("{}", &req_pos[..]) + req_pos } ); } if subcmds {