mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Code formatting/cleanup
This commit is contained in:
parent
0eb7596fdc
commit
1fd2451b90
1 changed files with 1 additions and 4 deletions
|
@ -538,13 +538,10 @@ impl LiteralRepresentation {
|
|||
return
|
||||
}
|
||||
let hex = format!("{:#X}", val);
|
||||
let digit_info = DigitInfo::new(&hex[..], false);
|
||||
let digit_info = DigitInfo::new(&hex, false);
|
||||
let _ = Self::do_lint(digit_info.digits).map_err(|warning_type| {
|
||||
warning_type.display(&digit_info.grouping_hint(), cx, lit.span)
|
||||
});
|
||||
}
|
||||
else {
|
||||
return
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue