mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02:00
examples: Update to axum-server 0.8 (#3605)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user