Skip to content

Commit

Permalink
Merge pull request #153 from antonzub1/master
Browse files Browse the repository at this point in the history
Fix clippy error
  • Loading branch information
cksac authored Oct 12, 2023
2 parents df9250c + dfd02f8 commit 6095bdf
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 6095bdf

Please sign in to comment.