We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b860f3e + e15651a commit 00c5d77Copy full SHA for 00c5d77
README.md
@@ -123,7 +123,7 @@ use diesel_async::RunQueryDsl;
123
124
// create a new connection pool with the default config
125
let config = AsyncDieselConnectionManager::<diesel_async::AsyncPgConnection>::new(std::env::var("DATABASE_URL")?);
126
-let pool = Pool::builder().build(config)?;
+let pool = Pool::builder(config).build()?;
127
128
// checkout a connection from the pool
129
let mut conn = pool.get().await?;
0 commit comments