More autoclippyification
This commit is contained in:
parent
4fa6f83708
commit
9d8d2d87c3
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ impl<'a> DigitInfo<'a> {
|
||||||
fn grouping_hint(&self) -> String {
|
fn grouping_hint(&self) -> String {
|
||||||
let group_size = self.radix.suggest_grouping();
|
let group_size = self.radix.suggest_grouping();
|
||||||
if self.digits.contains('.') {
|
if self.digits.contains('.') {
|
||||||
let mut parts = self.digits.split(".");
|
let mut parts = self.digits.split('.');
|
||||||
let int_part_hint = parts
|
let int_part_hint = parts
|
||||||
.next()
|
.next()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue