Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Laux committed Nov 2, 2023
1 parent 038480a commit 7d79ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/parse_from_text/phone_numbers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn is_sdd(input: char) -> bool {
}

fn is_digit(input: char) -> bool {
input.is_digit(10)
input.is_ascii_digit()
}

fn is_digit_or_ssd(input: char) -> bool {
Expand Down

0 comments on commit 7d79ffd

Please sign in to comment.