More autoclippyification

This commit is contained in:
Oliver Schneider 2017-08-01 09:55:17 +02:00 committed by GitHub
parent 4fa6f83708
commit 9d8d2d87c3

View File

@ -145,7 +145,7 @@ impl<'a> DigitInfo<'a> {
fn grouping_hint(&self) -> String {
let group_size = self.radix.suggest_grouping();
if self.digits.contains('.') {
let mut parts = self.digits.split(".");
let mut parts = self.digits.split('.');
let int_part_hint = parts
.next()
.unwrap()