aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Guillot <frederic.guillot@gmail.com>2018-07-25 16:36:11 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2018-08-03 03:58:03 +0000
commit4cc09cd5320a2bea4f27a1db59970d4b715f6522 (patch)
tree0644f25a5246ba620f47c156b3e189ed36aad28f
parent51ddeb9965e942d5909c03fef005006457156638 (diff)
downloadgo-4cc09cd5320a2bea4f27a1db59970d4b715f6522.tar.gz
go-4cc09cd5320a2bea4f27a1db59970d4b715f6522.zip
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>
-rw-r--r--src/database/sql/sql.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go
index 1e7a989089..36179855db 100644
--- a/src/database/sql/sql.go
+++ b/src/database/sql/sql.go
@@ -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()