Skip to content

Commit

Permalink
Oops. just fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyA authored and camc314 committed Dec 15, 2023
1 parent 49ccf6e commit 5ef2c43
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ enum ErrorKind {
}

fn check_regex(regexp_lit: &RegExpLiteral) -> Option<ErrorKind> {
if regexp_lit.regex.flags.contains(RegExpFlags::I) || regexp_lit.regex.flags.contains(RegExpFlags::M) {
if regexp_lit.regex.flags.contains(RegExpFlags::I)
|| regexp_lit.regex.flags.contains(RegExpFlags::M)
{
return None;
}

Expand Down

0 comments on commit 5ef2c43

Please sign in to comment.