Skip to content

Commit

Permalink
Fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
kacperzuk-neti committed Sep 12, 2024
1 parent 33db09a commit 07af805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fplus-lib/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub fn compare_allowance_and_allocation(
pub fn process_amount(mut amount: String) -> String {
// Trim 'S' or 's' from the end of the string
amount = amount
.trim_end_matches(|c: char| c == 'S' || c == 's')
.trim_end_matches(['s', 'S'])
.to_string();

// Replace 'b' with 'B'
Expand Down

0 comments on commit 07af805

Please sign in to comment.