]> Cypherpunks repositories - gostls13.git/commitdiff
database/sql: fix driverStmt.Close() comment typo
authorFrédéric Guillot <frederic.guillot@gmail.com>
Wed, 25 Jul 2018 23:36:11 +0000 (16:36 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 3 Aug 2018 03:58:03 +0000 (03:58 +0000)
Change-Id: I2256c850e071882b00c362da03abc8b021c1ec2a
Reviewed-on: https://go-review.googlesource.com/126015
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/database/sql/sql.go

index 1e7a989089b8766bb5a8c4d73743c2bfbf3f3119..36179855db2b6d247e7258913222fc6794bc72ad 100644 (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()