1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:24:42 -07:00

database/sql: fix driverStmt.Close() comment typo

Change-Id: I2256c850e071882b00c362da03abc8b021c1ec2a
Reviewed-on: https://go-review.googlesource.com/126015
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Frédéric Guillot 2018-07-25 16:36:11 -07:00 committed by Brad Fitzpatrick
parent 51ddeb9965
commit 4cc09cd532

View File

@ -540,7 +540,7 @@ type driverStmt struct {
closeErr error // return value of previous Close call
}
// Close ensures dirver.Stmt is only closed once any always returns the same
// Close ensures driver.Stmt is only closed once and always returns the same
// result.
func (ds *driverStmt) Close() error {
ds.Lock()