1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-07-16 15:05:46 +02:00

revert IntoFuture change

This commit is contained in:
Nikolay Kim
2019-03-04 21:35:47 -08:00
parent 03f2046a42
commit e8a49801eb
20 changed files with 58 additions and 70 deletions

View File

@@ -2,7 +2,7 @@ use std::collections::HashMap;
use std::{fmt, io, net};
use actix_service::{IntoNewService, NewService};
use futures::future::{join_all, Future, IntoFuture};
use futures::future::{join_all, Future};
use log::error;
use tokio_tcp::TcpStream;
@@ -223,7 +223,6 @@ where
Box::new(
self.inner
.new_service(&())
.into_future()
.map_err(|_| ())
.map(|s| {
let service: BoxedServerService = Box::new(StreamService::new(s));