Update raw_strings.rs

This commit is contained in:
Catherine 2023-06-08 07:24:16 -05:00
parent bc744eb82b
commit ec765d9516
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ impl EarlyLintPass for RawStrings {
return; return;
} }
#[allow(clippy::cast_possible_truncation)] #[expect(clippy::cast_possible_truncation)]
let req = lit.symbol.as_str().as_bytes() let req = lit.symbol.as_str().as_bytes()
.split(|&b| b == b'"') .split(|&b| b == b'"')
.skip(1) .skip(1)