diff --git a/src/main.rs b/src/main.rs index d7871e7..fc992fc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -55,8 +55,7 @@ fn parse_args() -> Cli { // running with cargo vcs causes the vcs arg to be sent along // we need to unhack this for Clap let mut all_args: Vec = std::env::args_os().collect(); - let vcsstr = String::from("vcs"); - let osvcsstr = OsString::from(vcsstr); + let osvcsstr = OsString::from("vcs"); if all_args.get(1) == Some(&osvcsstr) { all_args.remove(1); }