Skip to content

Commit

Permalink
style: fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed May 13, 2024
1 parent 9aa4477 commit 6ee6352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/compiler/ir/ast2ir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ pub(in crate::compiler) fn regexp_pattern_from_ast<'src>(

ctx.warnings.add(|| {
Warning::redundant_case_modifier(
&ctx.report_builder,
ctx.report_builder,
pattern.modifiers.nocase().unwrap().span(),
pattern.span().subspan(i_pos, i_pos + 1),
)
Expand Down

0 comments on commit 6ee6352

Please sign in to comment.