mirror of
https://github.com/fafhrd91/actix-net
synced 2025-06-28 11:00:36 +02:00
make new public
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user