examples: Update to axum-server 0.8 (#3605)

This commit is contained in:
tottoto
2025-12-28 08:39:32 +09:00
committed by GitHub
parent f72bb26ff3
commit 370c6df40a
5 changed files with 15 additions and 22 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ async fn main() {
.unwrap();
}
async fn shutdown_signal(handle: axum_server::Handle) {
async fn shutdown_signal(handle: axum_server::Handle<SocketAddr>) {
let ctrl_c = async {
signal::ctrl_c()
.await