Skip to content

Commit 4cc09cd

Browse files
fguillotbradfitz
authored andcommitted
database/sql: fix driverStmt.Close() comment typo
Change-Id: I2256c850e071882b00c362da03abc8b021c1ec2a Reviewed-on: https://go-review.googlesource.com/126015 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 51ddeb9 commit 4cc09cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/database/sql/sql.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ type driverStmt struct {
540540
closeErr error // return value of previous Close call
541541
}
542542

543-
// Close ensures dirver.Stmt is only closed once any always returns the same
543+
// Close ensures driver.Stmt is only closed once and always returns the same
544544
// result.
545545
func (ds *driverStmt) Close() error {
546546
ds.Lock()

0 commit comments

Comments
 (0)