internal: make::expr_tuple should return ast::TupleExpr

This commit is contained in:
Giga Bowser 2024-12-16 14:27:31 -05:00
parent c549be9ab6
commit f388482119
6 changed files with 9 additions and 8 deletions

View file

@ -344,7 +344,8 @@ mod tests {
make::expr_literal("2").into(),
),
make::expr_literal("true").into(),
]),
])
.into(),
);
let to_wrap = root.syntax().descendants().find_map(ast::TupleExpr::cast).unwrap();