removed unnecessary urls truncating
This commit is contained in:
parent
74fa8baa55
commit
91d09b8bda
1 changed files with 0 additions and 1 deletions
|
|
@ -81,7 +81,6 @@ pub fn parse() -> Arguments {
|
|||
if urls.len() > 1 {
|
||||
arguments.urls = Some(urls);
|
||||
} else {
|
||||
urls.truncate(1); //does nothing because urls is of len 0 or 1 in this case.
|
||||
arguments.url_opt = urls.pop();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue