chore(deps) Update Rust crate clap to v3.0.0-rc.5 (#3077)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
This commit is contained in:
renovate[bot] 2021-12-15 17:18:40 -03:00 committed by GitHub
parent 383cb6d4db
commit 142eb3643e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ bincode = "1.3"
dirs-next = "2.0"
percent-encoding = "2.1"
base64 = { version = "0.13", optional = true }
clap = { version = "=3.0.0-rc.4", optional = true }
clap = { version = "=3.0.0-rc.5", optional = true }
notify-rust = { version = "4.5", optional = true }
reqwest = { version = "0.11", features = [ "json", "multipart" ], optional = true }
bytes = { version = "1", features = [ "serde" ], optional = true }

View File

@ -7,7 +7,7 @@ macro_rules! bind_string_arg {
let arg = $arg;
let mut clap_arg = $clap_arg;
if let Some(value) = &arg.$arg_name {
clap_arg = clap_arg.$clap_field(value);
clap_arg = clap_arg.$clap_field(value.as_str());
}
clap_arg
}};