mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 15:17:18 +01:00
fix: typo in a comment in a sqlx-postgres example (#744)
This commit is contained in:
parent
4a6e164cf3
commit
0c16ce7649
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ async fn main() {
|
||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
// we can exact the connection pool with `Extension`
|
// we can extract the connection pool with `Extension`
|
||||||
async fn using_connection_pool_extractor(
|
async fn using_connection_pool_extractor(
|
||||||
Extension(pool): Extension<PgPool>,
|
Extension(pool): Extension<PgPool>,
|
||||||
) -> Result<String, (StatusCode, String)> {
|
) -> Result<String, (StatusCode, String)> {
|
||||||
|
|
Loading…
Reference in a new issue