Fix some clippy::complexity

This commit is contained in:
Nilstrieb
2023-04-09 23:07:18 +02:00
parent 6fceb0f645
commit 81c320ea77
28 changed files with 62 additions and 63 deletions

View File

@@ -336,8 +336,8 @@ const ASCII_ARRAY: &[(&str, &str, Option<token::TokenKind>)] = &[
("\"", "Quotation Mark", None),
];
pub(super) fn check_for_substitution<'a>(
reader: &StringReader<'a>,
pub(super) fn check_for_substitution(
reader: &StringReader<'_>,
pos: BytePos,
ch: char,
count: usize,