parser : String::from("") -> String::default()
This commit is contained in:
parent
8d3241ecdc
commit
4f11bc71f6
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ fn parse_main(characters: &mut Vec<char>, current_arg: &mut String) -> Vec<Strin
|
|||
if current_char.is_whitespace() {
|
||||
if !current_arg.is_empty() {
|
||||
let mut argv: Vec<String> = vec![current_arg.clone()];
|
||||
argv.append(&mut parse_main(characters, &mut String::from("")));
|
||||
argv.append(&mut parse_main(characters, &mut String::default()));
|
||||
|
||||
argv
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue