Skip to content

Commit

Permalink
Fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Zub committed Oct 6, 2023
1 parent df9250c commit dfd02f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fake/src/faker/impls/finance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,6 @@ impl<L: Data> Dummy<Isin<L>> for String {
.flat_map(split_number_to_digits)
.sum::<u32>();
let checksum_digit = (10 - ((checksum_even + checksum_odd) % 10)) % 10;
return format!("{}{}{}", country_code, nsin, checksum_digit);
format!("{}{}{}", country_code, nsin, checksum_digit)
}
}

0 comments on commit dfd02f8

Please sign in to comment.