From 7d79ffd60275a67f68be857b25c695e2b6d822ea Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Thu, 2 Nov 2023 03:47:59 +0100 Subject: [PATCH] fix clippy --- src/parser/parse_from_text/phone_numbers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/parse_from_text/phone_numbers.rs b/src/parser/parse_from_text/phone_numbers.rs index 39ad1be..ef0db1a 100644 --- a/src/parser/parse_from_text/phone_numbers.rs +++ b/src/parser/parse_from_text/phone_numbers.rs @@ -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 {