aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2023-07-07 16:33:39 -0400
committerThan McIntosh <thanm@google.com>2023-07-07 20:48:55 +0000
commit894d24d617bb72d6e1bed7b143f9f7a0ac16b844 (patch)
tree20dd174ec65742e8c2b72911f5d947c7c15ae842
parentac9137f8d312c3a6916ab71de61b05c192c455f0 (diff)
downloadgo-894d24d617bb72d6e1bed7b143f9f7a0ac16b844.tar.gz
go-894d24d617bb72d6e1bed7b143f9f7a0ac16b844.zip
src/database/sql: run gofmt
Run gofmt on a source file. Change-Id: I180d5cc7425fc5d8e9cf63005ac692f361beb1ed Reviewed-on: https://go-review.googlesource.com/c/go/+/508497 Run-TryBot: Than McIntosh <thanm@google.com> Reviewed-by: Eli Bendersky <eliben@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
-rw-r--r--src/database/sql/sql.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go
index 0764c7d17a..836fe83e2e 100644
--- a/src/database/sql/sql.go
+++ b/src/database/sql/sql.go
@@ -2949,7 +2949,7 @@ func (rs *Rows) initContextClose(ctx, txctx context.Context) {
go rs.awaitDone(ctx, txctx, closectx)
}
-// awaitDone blocks until ctx, txctx, or closectx is canceled.
+// awaitDone blocks until ctx, txctx, or closectx is canceled.
// The ctx is provided from the query context.
// If the query was issued in a transaction, the transaction's context
// is also provided in txctx, to ensure Rows is closed if the Tx is closed.