From 123748241d56ae696d64a3764494c0771f5a36d6 Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Wed, 15 Nov 2023 06:46:18 +0100 Subject: [PATCH] fix #55 which was introduced by a typo while fixing clippy lints --- src/parser/link_url.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/link_url.rs b/src/parser/link_url.rs index 1813111..ff9a57b 100644 --- a/src/parser/link_url.rs +++ b/src/parser/link_url.rs @@ -188,7 +188,7 @@ fn is_reserved(char: char) -> bool { } fn is_hex_digit(c: char) -> bool { - c.is_ascii_digit() + c.is_ascii_hexdigit() } fn escaped_char(input: &str) -> IResult<&str, &str, LinkParseError<&str>> {