mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 23:51:06 +01:00
chore: remove redundant imports
This commit is contained in:
parent
5414e2655b
commit
a5f5e31a82
@ -1,4 +1,4 @@
|
|||||||
use std::{collections::HashSet, iter::FromIterator, rc::Rc};
|
use std::{collections::HashSet, rc::Rc};
|
||||||
|
|
||||||
use actix_utils::future::{self, Ready};
|
use actix_utils::future::{self, Ready};
|
||||||
use actix_web::{
|
use actix_web::{
|
||||||
@ -614,8 +614,8 @@ mod test {
|
|||||||
|
|
||||||
use actix_web::{
|
use actix_web::{
|
||||||
body,
|
body,
|
||||||
dev::{fn_service, Transform},
|
dev::fn_service,
|
||||||
http::{header::HeaderName, StatusCode},
|
http::StatusCode,
|
||||||
test::{self, TestRequest},
|
test::{self, TestRequest},
|
||||||
HttpResponse,
|
HttpResponse,
|
||||||
};
|
};
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
use std::{
|
use std::{collections::HashSet, fmt, rc::Rc};
|
||||||
collections::HashSet,
|
|
||||||
convert::{TryFrom, TryInto},
|
|
||||||
fmt,
|
|
||||||
rc::Rc,
|
|
||||||
};
|
|
||||||
|
|
||||||
use actix_web::{
|
use actix_web::{
|
||||||
dev::RequestHead,
|
dev::RequestHead,
|
||||||
|
@ -277,8 +277,6 @@ impl SessionStore for RedisActorSessionStore {
|
|||||||
mod tests {
|
mod tests {
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
use actix_web::cookie::time::Duration;
|
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::test_helpers::acceptance_test_suite;
|
use crate::test_helpers::acceptance_test_suite;
|
||||||
|
|
||||||
|
@ -286,7 +286,6 @@ mod tests {
|
|||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
use actix_web::cookie::time;
|
use actix_web::cookie::time;
|
||||||
use redis::AsyncCommands;
|
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::test_helpers::acceptance_test_suite;
|
use crate::test_helpers::acceptance_test_suite;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
use std::{convert::From, error::Error, fmt, str};
|
use std::{error::Error, fmt, str};
|
||||||
|
|
||||||
use actix_web::http::header;
|
use actix_web::http::header;
|
||||||
|
|
||||||
|
@ -243,7 +243,6 @@ where
|
|||||||
mod tests {
|
mod tests {
|
||||||
use actix_service::into_service;
|
use actix_service::into_service;
|
||||||
use actix_web::{
|
use actix_web::{
|
||||||
dev::Service,
|
|
||||||
error::{self, ErrorForbidden},
|
error::{self, ErrorForbidden},
|
||||||
http::StatusCode,
|
http::StatusCode,
|
||||||
test::TestRequest,
|
test::TestRequest,
|
||||||
|
Loading…
Reference in New Issue
Block a user