From 928d60fbbad15d75149c725adda9c7e87f2dd1f4 Mon Sep 17 00:00:00 2001 From: Allan Date: Mon, 18 Jul 2022 14:46:38 -0230 Subject: [PATCH] Fix two comment typos (#1172) --- examples/tokio-postgres/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tokio-postgres/src/main.rs b/examples/tokio-postgres/src/main.rs index 4489f616..66b03a8f 100644 --- a/examples/tokio-postgres/src/main.rs +++ b/examples/tokio-postgres/src/main.rs @@ -26,7 +26,7 @@ async fn main() { .with(tracing_subscriber::fmt::layer()) .init(); - // setup connection pool + // set up connection pool let manager = PostgresConnectionManager::new_from_stringlike("host=localhost user=postgres", NoTls) .unwrap(); @@ -51,7 +51,7 @@ async fn main() { type ConnectionPool = Pool>; -// 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, ) -> Result {