commit | 4cc09cd5320a2bea4f27a1db59970d4b715f6522 | [log] [tgz] |
---|---|---|
author | Frédéric Guillot <frederic.guillot@gmail.com> | Wed Jul 25 16:36:11 2018 -0700 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Fri Aug 03 03:58:03 2018 +0000 |
tree | 0644f25a5246ba620f47c156b3e189ed36aad28f | |
parent | 51ddeb9965e942d5909c03fef005006457156638 [diff] |
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>
diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go index 1e7a989..3617985 100644 --- a/src/database/sql/sql.go +++ b/src/database/sql/sql.go
@@ -540,7 +540,7 @@ 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()