mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-17 00:00:16 +02:00
Fix typo (#1646)
This commit is contained in:
@@ -44,7 +44,7 @@ async fn main() {
|
||||
.connect_timeout(Duration::from_secs(3))
|
||||
.connect(&db_connection_str)
|
||||
.await
|
||||
.expect("can connect to database");
|
||||
.expect("can't connect to database");
|
||||
|
||||
// build our application with some routes
|
||||
let app = Router::new()
|
||||
|
||||
Reference in New Issue
Block a user