make new public

This commit is contained in:
Nikolay Kim 2018-08-28 20:32:01 -07:00
parent f689f6500a
commit cb1ea341c3
1 changed files with 1 additions and 1 deletions

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,