From e97dbe1b22a746b9ba15b0cd066ffd3b12e8a172 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 19 Jan 2019 14:49:26 -0600 Subject: [PATCH] Fix doc typo --- pgconn/pgconn.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pgconn/pgconn.go b/pgconn/pgconn.go index efd7686f..13301364 100644 --- a/pgconn/pgconn.go +++ b/pgconn/pgconn.go @@ -549,10 +549,9 @@ func (pgConn *PgConn) cancelRequest(ctx context.Context) error { return nil } -// WaitUntilReady waits until a previous context cancellation has been competed processed and the connection is ready -// for use. This is done automatically by all methods that need the connection to be ready for use. The only expected -// use for this method is for a connection pool to wait for a returned connection to be usable again before making it -// available. +// WaitUntilReady waits until a previous context cancellation has been completed and the connection is ready for use. +// This is done automatically by all methods that need the connection to be ready for use. The only expected use for +// this method is for a connection pool to wait for a returned connection to be usable again before making it available. func (pgConn *PgConn) WaitUntilReady(ctx context.Context) error { select { case <-ctx.Done():