From: Brad Fitzpatrick Date: Mon, 14 Nov 2022 17:04:38 +0000 (-0800) Subject: database/sql: add a missing period to end of sentence in Rows.Scan docs X-Git-Tag: go1.20rc1~289 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=74b6a22057b393f198d2d86f4ea7504dacf390f5;p=gostls13.git 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 --- 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()