mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 00:50:20 +02:00
Remove usage of upcoming keyword async
AsyncResult::async is replaced with AsyncResult::future
This commit is contained in:
@@ -356,7 +356,7 @@ impl<S: 'static> RouteHandler<S> for Scope<S> {
|
||||
if self.middlewares.is_empty() {
|
||||
self.router.handle(&req2)
|
||||
} else {
|
||||
AsyncResult::async(Box::new(Compose::new(
|
||||
AsyncResult::future(Box::new(Compose::new(
|
||||
req2,
|
||||
Rc::clone(&self.router),
|
||||
Rc::clone(&self.middlewares),
|
||||
|
Reference in New Issue
Block a user