fix(usage): remove warning about unused variables

This commit is contained in:
Kevin K 2015-04-09 19:53:13 -04:00
parent be91c5f2f5
commit ba817b9d81

View file

@ -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 {
req_opts
format!("{}", &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 {
req_pos
format!("{}", &req_pos[..])
} );
}
if subcmds {