Skip to content

Commit 59961a5

Browse files
committed
chore: fix msrv errors
1 parent 33b487e commit 59961a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

actix-router/src/resource.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ mod tests {
13701370
assert_eq!(path.unprocessed(), "");
13711371
}
13721372

1373-
#[expect(clippy::literal_string_with_formatting_args)]
1373+
#[allow(clippy::literal_string_with_formatting_args)]
13741374
#[test]
13751375
fn newline_patterns_and_paths() {
13761376
let re = ResourceDef::new("/user/a\nb");

actix-router/src/router.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ mod tests {
145145
};
146146

147147
#[allow(clippy::cognitive_complexity)]
148-
#[expect(clippy::literal_string_with_formatting_args)]
148+
#[allow(clippy::literal_string_with_formatting_args)]
149149
#[test]
150150
fn test_recognizer_1() {
151151
let mut router = Router::<usize>::build();

0 commit comments

Comments
 (0)