style: Format code with fmt

This commit is contained in:
Simon C
2024-08-08 15:01:28 +02:00
parent b10fc30984
commit 0eaf238735
8 changed files with 28 additions and 18 deletions

View File

@ -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();
}