diff --git a/enumflags_derive/src/lib.rs b/enumflags_derive/src/lib.rs index ab317f3..30c86a1 100644 --- a/enumflags_derive/src/lib.rs +++ b/enumflags_derive/src/lib.rs @@ -99,7 +99,7 @@ fn fold_expr(expr: &syn::Expr) -> Option { } } Expr::Paren(syn::ExprParen { expr, .. }) | Expr::Group(syn::ExprGroup { expr, .. }) => { - fold_expr(&expr) + fold_expr(expr) } _ => None, }