mirror of
https://github.com/github/codeql.git
synced 2026-05-14 19:29:28 +02:00
Yeast: Remove unnecessary parens around literal with quantifier
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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| {
|
||||
|
||||
Reference in New Issue
Block a user