Skip to content

Commit a2ba9a7

Browse files
committed
Fix lint
1 parent 7ece6ab commit a2ba9a7

File tree

1 file changed

+1
-1
lines changed
  • crates/oxc_linter/src/utils

1 file changed

+1
-1
lines changed

crates/oxc_linter/src/utils/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ mod test {
306306
"Rule counts differ between Rust constant and JSON, please ensure both are updated"
307307
);
308308
for (json_rule, rust_rule) in json_rules.iter().zip(rust_rules.iter()) {
309-
assert_eq!(json_rule, rust_rule, "Mismatch for rule: {}", json_rule);
309+
assert_eq!(json_rule, rust_rule, "Mismatch for rule: {json_rule}");
310310
}
311311
}
312312
}

0 commit comments

Comments
 (0)