From 74b6a22057b393f198d2d86f4ea7504dacf390f5 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 14 Nov 2022 09:04:38 -0800 Subject: [PATCH] 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 Auto-Submit: Brad Fitzpatrick TryBot-Result: Gopher Robot Run-TryBot: Brad Fitzpatrick Reviewed-by: Joedian Reid --- src/database/sql/sql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()