Some simplifications

This commit is contained in:
David Pedersen
2021-06-01 08:32:58 +02:00
parent 8582c6fd1f
commit 093ad3622e
4 changed files with 7 additions and 19 deletions
+2
View File
@@ -275,6 +275,8 @@ async fn boxing() {
// TODO(david): tests for adding middleware to single services
// TODO(david): tests for nesting services
/// Run a `tower::Service` in the background and get a URI for it.
pub async fn run_in_background<S, ResBody>(svc: S) -> SocketAddr
where