mirror of https://github.com/fafhrd91/actix-web
Compare commits
3 Commits
a53f86190d
...
076ed4f251
Author | SHA1 | Date |
---|---|---|
|
076ed4f251 | |
|
adad235e1f | |
|
59961a58a8 |
|
@ -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");
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -25,10 +25,7 @@ use openssl::{
|
|||
ssl::{SslAcceptor, SslMethod},
|
||||
x509::X509,
|
||||
};
|
||||
use rand::{
|
||||
distr::{Alphanumeric, SampleString as _},
|
||||
Rng as _,
|
||||
};
|
||||
use rand::distr::{Alphanumeric, SampleString as _};
|
||||
|
||||
mod utils;
|
||||
|
||||
|
|
|
@ -20,10 +20,7 @@ use base64::prelude::*;
|
|||
use bytes::Bytes;
|
||||
use cookie::Cookie;
|
||||
use futures_util::stream;
|
||||
use rand::{
|
||||
distr::{Alphanumeric, SampleString as _},
|
||||
Rng,
|
||||
};
|
||||
use rand::distr::{Alphanumeric, SampleString as _};
|
||||
|
||||
mod utils;
|
||||
|
||||
|
|
Loading…
Reference in New Issue