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.
1 parent b860f3e commit e15651aCopy full SHA for e15651a
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