mirror of
https://github.com/fafhrd91/actix-web
synced 2025-03-26 00:49:46 +01:00
chore: fix msrv errors
This commit is contained in:
parent
33b487e854
commit
59961a58a8
@ -1370,7 +1370,7 @@ mod tests {
|
|||||||
assert_eq!(path.unprocessed(), "");
|
assert_eq!(path.unprocessed(), "");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[expect(clippy::literal_string_with_formatting_args)]
|
#[allow(clippy::literal_string_with_formatting_args)]
|
||||||
#[test]
|
#[test]
|
||||||
fn newline_patterns_and_paths() {
|
fn newline_patterns_and_paths() {
|
||||||
let re = ResourceDef::new("/user/a\nb");
|
let re = ResourceDef::new("/user/a\nb");
|
||||||
|
@ -145,7 +145,7 @@ mod tests {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#[allow(clippy::cognitive_complexity)]
|
#[allow(clippy::cognitive_complexity)]
|
||||||
#[expect(clippy::literal_string_with_formatting_args)]
|
#[allow(clippy::literal_string_with_formatting_args)]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_recognizer_1() {
|
fn test_recognizer_1() {
|
||||||
let mut router = Router::<usize>::build();
|
let mut router = Router::<usize>::build();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user