fixup! Remove io::Result from serve output type

This commit is contained in:
Jonas Platte
2025-04-26 23:45:20 +02:00
parent bfb94cfd1e
commit b5cd093928
5 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ mod tests {
// Retrieve the port assigned to us by the OS
let port = listener.local_addr().unwrap().port();
tokio::spawn(async {
axum::serve(listener, app()).await.unwrap();
axum::serve(listener, app()).await;
});
// Returns address (e.g. http://127.0.0.1{random_port})
format!("http://{}:{}", host, port)