mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 15: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_web::{
|
||||
@ -614,8 +614,8 @@ mod test {
|
||||
|
||||
use actix_web::{
|
||||
body,
|
||||
dev::{fn_service, Transform},
|
||||
http::{header::HeaderName, StatusCode},
|
||||
dev::fn_service,
|
||||
http::StatusCode,
|
||||
test::{self, TestRequest},
|
||||
HttpResponse,
|
||||
};
|
||||
|
@ -1,9 +1,4 @@
|
||||
use std::{
|
||||
collections::HashSet,
|
||||
convert::{TryFrom, TryInto},
|
||||
fmt,
|
||||
rc::Rc,
|
||||
};
|
||||
use std::{collections::HashSet, fmt, rc::Rc};
|
||||
|
||||
use actix_web::{
|
||||
dev::RequestHead,
|
||||
|
@ -277,8 +277,6 @@ impl SessionStore for RedisActorSessionStore {
|
||||
mod tests {
|
||||
use std::collections::HashMap;
|
||||
|
||||
use actix_web::cookie::time::Duration;
|
||||
|
||||
use super::*;
|
||||
use crate::test_helpers::acceptance_test_suite;
|
||||
|
||||
|
@ -286,7 +286,6 @@ mod tests {
|
||||
use std::collections::HashMap;
|
||||
|
||||
use actix_web::cookie::time;
|
||||
use redis::AsyncCommands;
|
||||
|
||||
use super::*;
|
||||
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;
|
||||
|
||||
|
@ -243,7 +243,6 @@ where
|
||||
mod tests {
|
||||
use actix_service::into_service;
|
||||
use actix_web::{
|
||||
dev::Service,
|
||||
error::{self, ErrorForbidden},
|
||||
http::StatusCode,
|
||||
test::TestRequest,
|
||||
|
Loading…
Reference in New Issue
Block a user