mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
Updated code for CI
This commit is contained in:
parent
6edd598856
commit
18383c69c1
|
@ -244,7 +244,7 @@ pub fn new(lint_fraction_readability: bool) -> Self {
|
|||
}
|
||||
}
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue