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

chore: remove redundant imports

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

View File

@ -3,7 +3,6 @@
//! See [`TlsConnector`] for main connector service factory docs.
use std::{
convert::TryFrom,
future::Future,
io,
pin::Pin,

View File

@ -3,7 +3,6 @@
//! See [`TlsConnector`] for main connector service factory docs.
use std::{
convert::TryFrom,
future::Future,
io,
pin::Pin,

View File

@ -98,8 +98,6 @@ async fn service_factory() {
#[cfg(all(feature = "openssl", feature = "uri"))]
#[actix_rt::test]
async fn test_openssl_uri() {
use std::convert::TryFrom;
let srv = TestServer::start(|| {
fn_service(|io: TcpStream| async {
let mut framed = Framed::new(io, BytesCodec);
@ -134,8 +132,6 @@ async fn test_rustls_uri_http1() {
#[cfg(all(feature = "rustls-0_22", feature = "uri"))]
#[actix_rt::test]
async fn test_rustls_uri() {
use std::convert::TryFrom;
let srv = TestServer::start(|| {
fn_service(|io: TcpStream| async {
let mut framed = Framed::new(io, BytesCodec);