mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 23:04:23 +00:00
Removed deprecated method calls
This commit is contained in:
parent
22d7bb0c42
commit
044849f050
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ impl App {
|
|||
let mut arg_val: Option<String> = None;
|
||||
|
||||
if arg.contains("=") {
|
||||
let arg_vec: Vec<&str> = arg.split_str("=").collect();
|
||||
let arg_vec: Vec<&str> = arg.split("=").collect();
|
||||
arg = arg_vec[0];
|
||||
arg_val = Some(arg_vec[1].to_string());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue