mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-27 04:50:31 +00:00
Fix two comment typos (#1172)
This commit is contained in:
parent
73041c8988
commit
928d60fbba
@ -51,7 +51,7 @@ async fn main() {
|
||||
|
||||
type ConnectionPool = Pool<PostgresConnectionManager<NoTls>>;
|
||||
|
||||
// we can exact the connection pool with `Extension`
|
||||
// we can extract the connection pool with `Extension`
|
||||
async fn using_connection_pool_extractor(
|
||||
Extension(pool): Extension<ConnectionPool>,
|
||||
) -> Result<String, (StatusCode, String)> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user