diff --git a/fake/src/faker/impls/finance.rs b/fake/src/faker/impls/finance.rs index 15e602a..1c90046 100644 --- a/fake/src/faker/impls/finance.rs +++ b/fake/src/faker/impls/finance.rs @@ -112,6 +112,6 @@ impl Dummy> for String { .flat_map(split_number_to_digits) .sum::(); let checksum_digit = (10 - ((checksum_even + checksum_odd) % 10)) % 10; - return format!("{}{}{}", country_code, nsin, checksum_digit); + format!("{}{}{}", country_code, nsin, checksum_digit) } }