syntax::ast::make

Function match_arm

source
pub fn match_arm(
    pats: impl IntoIterator<Item = Pat>,
    guard: Option<Expr>,
    expr: Expr,
) -> MatchArm