Remove unused variable

This commit is contained in:
Matthias Beyer 2016-01-05 16:32:45 +01:00
parent 668811dafa
commit 0a63bc8f4d

View file

@ -10,7 +10,7 @@ pub mod cli {
* Get a commandline option "tags" and split the argument by "," to be able to provide a * Get a commandline option "tags" and split the argument by "," to be able to provide a
* Vec<String> with the argument as array. * Vec<String> with the argument as array.
*/ */
pub fn get_tags<'a>(rt: &Runtime, sub: &ArgMatches<'a, 'a>) -> Vec<String> { pub fn get_tags<'a>(sub: &ArgMatches<'a, 'a>) -> Vec<String> {
fn reject_if_with_spaces(e: &String) -> bool { fn reject_if_with_spaces(e: &String) -> bool {
if e.contains(" ") { if e.contains(" ") {