You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is quite boring to extract specific enum variant using pattern match. I would like to derive all enums with EnumsAsInner. So I can use expr.as_function(), expr.as_ident() ... much simpler than if let Expr::Function(f) = expr { ... }
The text was updated successfully, but these errors were encountered:
It is quite boring to extract specific enum variant using pattern match. I would like to derive all enums with EnumsAsInner. So I can use expr.as_function(), expr.as_ident() ... much simpler than
if let Expr::Function(f) = expr { ... }
The text was updated successfully, but these errors were encountered: