1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 15:07:42 +02:00

use actix ready future in remaining return types

This commit is contained in:
Rob Ede
2021-11-30 13:11:41 +00:00
parent fa82b698b7
commit a978b417f3
3 changed files with 5 additions and 6 deletions

View File

@ -286,12 +286,10 @@ where
}
#[cfg(feature = "dangerous-h2c")]
{
use std::{
future::{ready, Ready},
io,
};
use std::io;
use actix_tls::connect::Connection;
use actix_utils::future::{ready, Ready};
impl IntoConnectionIo for TcpConnection<Uri, Box<dyn ConnectionIo>> {
fn into_connection_io(self) -> (Box<dyn ConnectionIo>, Protocol) {