Compare commits

..

No commits in common. "076ed4f251a0e2abccb6ba13f6eeb0d7c01ae2e2" and "a53f86190d64befcebc73388f349cef60080ef22" have entirely different histories.

4 changed files with 10 additions and 4 deletions

View File

@ -1370,7 +1370,7 @@ mod tests {
assert_eq!(path.unprocessed(), ""); assert_eq!(path.unprocessed(), "");
} }
#[allow(clippy::literal_string_with_formatting_args)] #[expect(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");

View File

@ -145,7 +145,7 @@ mod tests {
}; };
#[allow(clippy::cognitive_complexity)] #[allow(clippy::cognitive_complexity)]
#[allow(clippy::literal_string_with_formatting_args)] #[expect(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();

View File

@ -25,7 +25,10 @@ use openssl::{
ssl::{SslAcceptor, SslMethod}, ssl::{SslAcceptor, SslMethod},
x509::X509, x509::X509,
}; };
use rand::distr::{Alphanumeric, SampleString as _}; use rand::{
distr::{Alphanumeric, SampleString as _},
Rng as _,
};
mod utils; mod utils;

View File

@ -20,7 +20,10 @@ use base64::prelude::*;
use bytes::Bytes; use bytes::Bytes;
use cookie::Cookie; use cookie::Cookie;
use futures_util::stream; use futures_util::stream;
use rand::distr::{Alphanumeric, SampleString as _}; use rand::{
distr::{Alphanumeric, SampleString as _},
Rng,
};
mod utils; mod utils;