pull main & udpate lint

This commit is contained in:
Mathieu Lala
2023-02-05 17:59:02 +01:00
parent 097fa1f4e3
commit 9bdf3c290d
12 changed files with 44 additions and 41 deletions

View File

@@ -1203,7 +1203,7 @@ const fn is_hex_digit(c: char) -> bool {
/// Test if the given character is a numeric digit.
#[inline(always)]
const fn is_numeric_digit(c: char) -> bool {
matches!(c, '0'..='9')
c.is_ascii_digit()
}
/// Test if the comment block is a doc-comment.