style: Format code with fmt
This commit is contained in:
@ -9,7 +9,9 @@ async fn main() {
|
||||
let router = get_router(assets_path.as_path());
|
||||
|
||||
// TODO: select port based on available port (or ask in CLI)
|
||||
let listener = tokio::net::TcpListener::bind("localhost:3000").await.unwrap();
|
||||
let listener = tokio::net::TcpListener::bind("localhost:3000")
|
||||
.await
|
||||
.unwrap();
|
||||
println!("Listening on: http://{}", listener.local_addr().unwrap());
|
||||
axum::serve(listener, router).await.unwrap();
|
||||
}
|
||||
|
Reference in New Issue
Block a user