Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 18383c6

Browse files
committed
Updated code for CI
1 parent 6edd598 commit 18383c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/literal_representation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ impl LiteralDigitGrouping {
244244
}
245245
}
246246

247-
fn check_lit(&self, cx: &EarlyContext<'_>, lit: &Lit) {
247+
fn check_lit(self, cx: &EarlyContext<'_>, lit: &Lit) {
248248
if_chain! {
249249
if let Some(src) = snippet_opt(cx, lit.span);
250250
if let Some(mut num_lit) = NumericLiteral::from_lit(&src, &lit);

0 commit comments

Comments
 (0)