1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-23 21:51:06 +01:00

chore: remove redundant imports

This commit is contained in:
Rob Ede 2024-02-19 12:19:08 +00:00
parent 40b10847df
commit 0f71fd5a7a
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
5 changed files with 3 additions and 11 deletions

View File

@ -208,15 +208,13 @@ where
#[cfg(test)]
mod tests {
use core::task::Poll;
use futures_util::future::lazy;
use super::*;
use crate::{
ok,
pipeline::{pipeline, pipeline_factory},
Ready, Service, ServiceFactory,
Ready,
};
#[derive(Clone)]

View File

@ -351,7 +351,6 @@ mod tests {
use futures_util::future::lazy;
use super::*;
use crate::{ok, Service, ServiceFactory};
#[actix_rt::test]
async fn test_fn_service() {

View File

@ -202,9 +202,7 @@ mod tests {
use futures_util::future::lazy;
use super::*;
use crate::{
ok, IntoServiceFactory, Ready, Service, ServiceExt, ServiceFactory, ServiceFactoryExt,
};
use crate::{ok, IntoServiceFactory, Ready, ServiceExt, ServiceFactoryExt};
struct Srv;

View File

@ -205,9 +205,7 @@ mod tests {
use futures_util::future::lazy;
use super::*;
use crate::{
err, ok, IntoServiceFactory, Ready, Service, ServiceExt, ServiceFactory, ServiceFactoryExt,
};
use crate::{err, ok, IntoServiceFactory, Ready, ServiceExt, ServiceFactoryExt};
struct Srv;

View File

@ -226,7 +226,6 @@ mod tests {
use actix_utils::future::{ready, Ready};
use super::*;
use crate::Service;
// pseudo-doctest for Transform trait
pub struct TimeoutTransform {