mirror of
https://github.com/topjohnwu/argh.git
synced 2024-11-23 11:49:45 +00:00
Use std::result::Result to avoid expanding to type aliases
Fixes: #97 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
329890897a
commit
e4ce5d2f3e
@ -435,7 +435,7 @@ fn impl_from_args_struct_redact_arg_values<'a>(
|
||||
let help = help::help(errors, cmd_name_str_array_ident, type_attrs, &fields, subcommand);
|
||||
|
||||
let method_impl = quote_spanned! { impl_span =>
|
||||
fn redact_arg_values(__cmd_name: &[&str], __args: &[&str]) -> Result<Vec<String>, argh::EarlyExit> {
|
||||
fn redact_arg_values(__cmd_name: &[&str], __args: &[&str]) -> std::result::Result<Vec<String>, argh::EarlyExit> {
|
||||
#( #init_fields )*
|
||||
|
||||
argh::parse_struct_args(
|
||||
|
Loading…
Reference in New Issue
Block a user