chore: fix msrv errors

This commit is contained in:
Rob Ede 2025-02-09 02:15:43 +00:00
parent 33b487e854
commit 59961a58a8
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 2 additions and 2 deletions
actix-router/src

View File

@ -1370,7 +1370,7 @@ mod tests {
assert_eq!(path.unprocessed(), "");
}
#[expect(clippy::literal_string_with_formatting_args)]
#[allow(clippy::literal_string_with_formatting_args)]
#[test]
fn newline_patterns_and_paths() {
let re = ResourceDef::new("/user/a\nb");

View File

@ -145,7 +145,7 @@ mod tests {
};
#[allow(clippy::cognitive_complexity)]
#[expect(clippy::literal_string_with_formatting_args)]
#[allow(clippy::literal_string_with_formatting_args)]
#[test]
fn test_recognizer_1() {
let mut router = Router::<usize>::build();