Skip to content

Commit

Permalink
Update structopt-derive/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Guillaume P. <TeXitoi@users.noreply.github.com>
  • Loading branch information
njeffords and TeXitoi committed Jun 24, 2021
1 parent e26074e commit 8681096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structopt-derive/src/lib.rs
Expand Up @@ -759,7 +759,7 @@ fn split_structopt_generics_for_impl(generics: &Generics) -> (ImplGenerics, Type
path.segments.last().unwrap().ident == "StructOpt"
}

fn type_param_bounds_contains_structop(bounds: &Punctuated<TypeParamBound, Add>) -> bool {
fn type_param_bounds_contains_structopt(bounds: &Punctuated<TypeParamBound, Add>) -> bool {
for bound in bounds {
if let Trait(bound) = bound {
if path_is_structop(&bound.path) {
Expand Down

0 comments on commit 8681096

Please sign in to comment.