diff options
| author | xFrednet <xFrednet@gmail.com> | 2020-12-04 22:05:52 +0000 |
|---|---|---|
| committer | xFrednet <xFrednet@gmail.com> | 2020-12-04 22:05:52 +0000 |
| commit | 18383c69c1ebf0b6bc0f1ecdeee062f0767a69e8 (patch) | |
| tree | 93cf9a66a5f7b029f6b3e3142d7e7a92b8dd3256 | |
| parent | 6edd59885605d2cf0aa8727cf2cd30cd13098804 (diff) | |
| download | rust-18383c69c1ebf0b6bc0f1ecdeee062f0767a69e8.tar.gz rust-18383c69c1ebf0b6bc0f1ecdeee062f0767a69e8.zip | |
Updated code for CI
| -rw-r--r-- | clippy_lints/src/literal_representation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/literal_representation.rs b/clippy_lints/src/literal_representation.rs index 3920e5b6e83..87a957a9bd2 100644 --- a/clippy_lints/src/literal_representation.rs +++ b/clippy_lints/src/literal_representation.rs @@ -244,7 +244,7 @@ impl LiteralDigitGrouping { } } - fn check_lit(&self, cx: &EarlyContext<'_>, lit: &Lit) { + fn check_lit(self, cx: &EarlyContext<'_>, lit: &Lit) { if_chain! { if let Some(src) = snippet_opt(cx, lit.span); if let Some(mut num_lit) = NumericLiteral::from_lit(&src, &lit); |
