Yeast: Remove unnecessary parens around literal with quantifier

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Taus
2026-04-14 21:19:59 +00:00
parent 7d4d145626
commit 99d4f391cb

View File

@@ -71,7 +71,7 @@ pub fn rules() -> Vec<Rule> {
(for
pattern: @pat
value: (in "in" @val)
body: (do ("do")? (@body)*)
body: (do "do"? (@body)*)
)
);
let for_transform = move |ast: &mut Ast, mut match_: Captures| {