Clean up constructors for future newtypes (#415)

This commit is contained in:
David Pedersen
2021-10-25 23:03:16 +00:00
committed by GitHub
parent 68e44fa9da
commit 040f63b8e2
5 changed files with 17 additions and 21 deletions
+1 -1
View File
@@ -75,6 +75,6 @@ where
let handler = self.handler.clone();
let future = Handler::call(handler, req).map(Ok::<_, Infallible> as _);
super::future::IntoServiceFuture { future }
super::future::IntoServiceFuture::new(future)
}
}