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:
@ -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,
|
||||
|
@ -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};
|
||||
|
Reference in New Issue
Block a user