mirror of
https://github.com/fafhrd91/actix-net
synced 2025-01-31 13:52:08 +01:00
make new public
This commit is contained in:
parent
f689f6500a
commit
cb1ea341c3
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user