1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 02:19:22 +02:00

chore: clippy

This commit is contained in:
Rob Ede
2024-01-04 04:05:56 +00:00
parent b694c9317a
commit 77b8dcdf59
9 changed files with 13 additions and 25 deletions

View File

@ -1,4 +1,4 @@
use std::{collections::HashSet, convert::TryInto, iter::FromIterator, rc::Rc};
use std::{collections::HashSet, iter::FromIterator, rc::Rc};
use actix_utils::future::{self, Ready};
use actix_web::{
@ -610,7 +610,7 @@ where
#[cfg(test)]
mod test {
use std::convert::{Infallible, TryInto};
use std::convert::Infallible;
use actix_web::{
body,

View File

@ -61,8 +61,8 @@ mod error;
mod inner;
mod middleware;
use all_or_some::AllOrSome;
pub use builder::Cors;
pub use error::CorsError;
use inner::{Inner, OriginFn};
pub use middleware::CorsMiddleware;
use crate::{
all_or_some::AllOrSome,
inner::{Inner, OriginFn},
};
pub use crate::{builder::Cors, error::CorsError, middleware::CorsMiddleware};