aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2022-11-14 09:04:38 -0800
committerGopher Robot <gobot@golang.org>2022-11-14 18:35:41 +0000
commit74b6a22057b393f198d2d86f4ea7504dacf390f5 (patch)
tree714b28c8f229db59e26b953f4374f441ea525d17 /src/database/sql
parenta650e399dfc2435eb18efc430a70cba9d87cec73 (diff)
downloadgo-74b6a22057b393f198d2d86f4ea7504dacf390f5.tar.xz
database/sql: add a missing period to end of sentence in Rows.Scan docs
Change-Id: I331d4ff3e0f76a26c1c5ec41297117a5b1f16911 Reviewed-on: https://go-review.googlesource.com/c/go/+/450295 Reviewed-by: Damien Neil <dneil@google.com> Auto-Submit: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Joedian Reid <joedian@golang.org>
Diffstat (limited to 'src/database/sql')
-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 3fbafd64f7..ad17eb3da2 100644
--- a/src/database/sql/sql.go
+++ b/src/database/sql/sql.go
@@ -3228,7 +3228,7 @@ func rowsColumnInfoSetupConnLocked(rowsi driver.Rows) []*ColumnType {
// select query will close any cursor *Rows if the parent *Rows is closed.
//
// If any of the first arguments implementing Scanner returns an error,
-// that error will be wrapped in the returned error
+// that error will be wrapped in the returned error.
func (rs *Rows) Scan(dest ...any) error {
rs.closemu.RLock()