1
0
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:
Rob Ede 2024-02-19 16:18:17 +00:00
parent 5414e2655b
commit a5f5e31a82
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
6 changed files with 5 additions and 14 deletions

View File

@ -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,
};

View File

@ -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,

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
use std::{convert::From, error::Error, fmt, str};
use std::{error::Error, fmt, str};
use actix_web::http::header;

View File

@ -243,7 +243,6 @@ where
mod tests {
use actix_service::into_service;
use actix_web::{
dev::Service,
error::{self, ErrorForbidden},
http::StatusCode,
test::TestRequest,