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:
parent
f689f6500a
commit
cb1ea341c3
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue