From 166e5e4e9d925c68e4a0af30e62a8325f8dc76e6 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Wed, 2 Jan 2019 14:10:57 -0600 Subject: [PATCH] Fix typo --- pgconn/pgconn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgconn/pgconn.go b/pgconn/pgconn.go index 76836b9c..ff43f8a8 100644 --- a/pgconn/pgconn.go +++ b/pgconn/pgconn.go @@ -629,7 +629,7 @@ func preferContextOverNetTimeoutError(ctx context.Context, err error) error { } // RecoverFromTimeout attempts to recover from a timeout error such as is caused by a canceled context. If recovery is -// successful true is returned. If recovery is not successful the connection is closed and false it returned. Recovery +// successful true is returned. If recovery is not successful the connection is closed and false is returned. Recovery // should usually be possible except in the case of a partial write. This must be called after any context cancellation. // // As RecoverFromTimeout may need to read and ignored data already sent from the server, it potentially can block