Skip to content

Commit

Permalink
chore: remove redundant imports
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Feb 19, 2024
1 parent 39bab04 commit 40b1084
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion actix-tls/src/connect/rustls_0_20.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//! See [`TlsConnector`] for main connector service factory docs.
use std::{
convert::TryFrom,
future::Future,
io,
pin::Pin,
Expand Down
1 change: 0 additions & 1 deletion actix-tls/src/connect/rustls_0_21.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//! See [`TlsConnector`] for main connector service factory docs.
use std::{
convert::TryFrom,
future::Future,
io,
pin::Pin,
Expand Down
4 changes: 0 additions & 4 deletions actix-tls/tests/test_connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 40b1084

Please sign in to comment.