Skip to content

Commit 8c8d974

Browse files
hyperaircharmander
andcommitted
Fix typo in docs
`connect` has two `n`s, and we don't like semicolons Co-authored-by: Charmander <[email protected]>
1 parent b5845c9 commit 8c8d974

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/pages/apis/pool.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ const pool = new Pool()
207207

208208
{
209209
// check out a single client
210-
using client = await pool.connnect()
211-
client.destroyOnDispose = true;
210+
using client = await pool.connect()
211+
client.destroyOnDispose = true
212212

213213
// client.release(true) implicitly called at the end of scope
214214
}

0 commit comments

Comments
 (0)