1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-01-31 11:32:10 +01:00

make new public

This commit is contained in:
Nikolay Kim 2018-08-28 20:32:01 -07:00
parent f689f6500a
commit cb1ea341c3

View File

@ -85,7 +85,7 @@ where
F: Fn(Req) -> Fut + Clone, F: Fn(Req) -> Fut + Clone,
Fut: IntoFuture<Item = Resp, Error = Err>, Fut: IntoFuture<Item = Resp, Error = Err>,
{ {
fn new(f: F) -> Self { pub fn new(f: F) -> Self {
FnNewService { FnNewService {
f, f,
req: marker::PhantomData, req: marker::PhantomData,