mirror of https://github.com/fafhrd91/actix-web
Compare commits
No commits in common. "076ed4f251a0e2abccb6ba13f6eeb0d7c01ae2e2" and "a53f86190d64befcebc73388f349cef60080ef22" have entirely different histories.
076ed4f251
...
a53f86190d
|
@ -1370,7 +1370,7 @@ mod tests {
|
|||
assert_eq!(path.unprocessed(), "");
|
||||
}
|
||||
|
||||
#[allow(clippy::literal_string_with_formatting_args)]
|
||||
#[expect(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)]
|
||||
#[allow(clippy::literal_string_with_formatting_args)]
|
||||
#[expect(clippy::literal_string_with_formatting_args)]
|
||||
#[test]
|
||||
fn test_recognizer_1() {
|
||||
let mut router = Router::<usize>::build();
|
||||
|
|
|
@ -25,7 +25,10 @@ use openssl::{
|
|||
ssl::{SslAcceptor, SslMethod},
|
||||
x509::X509,
|
||||
};
|
||||
use rand::distr::{Alphanumeric, SampleString as _};
|
||||
use rand::{
|
||||
distr::{Alphanumeric, SampleString as _},
|
||||
Rng as _,
|
||||
};
|
||||
|
||||
mod utils;
|
||||
|
||||
|
|
|
@ -20,7 +20,10 @@ use base64::prelude::*;
|
|||
use bytes::Bytes;
|
||||
use cookie::Cookie;
|
||||
use futures_util::stream;
|
||||
use rand::distr::{Alphanumeric, SampleString as _};
|
||||
use rand::{
|
||||
distr::{Alphanumeric, SampleString as _},
|
||||
Rng,
|
||||
};
|
||||
|
||||
mod utils;
|
||||
|
||||
|
|
Loading…
Reference in New Issue