1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-30 12:00:38 +00: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,
Fut: IntoFuture<Item = Resp, Error = Err>,
{
fn new(f: F) -> Self {
pub fn new(f: F) -> Self {
FnNewService {
f,
req: marker::PhantomData,