From: Frédéric Guillot Date: Wed, 25 Jul 2018 23:36:11 +0000 (-0700) Subject: database/sql: fix driverStmt.Close() comment typo X-Git-Tag: go1.11beta3~5 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4cc09cd5320a2bea4f27a1db59970d4b715f6522;p=gostls13.git database/sql: fix driverStmt.Close() comment typo Change-Id: I2256c850e071882b00c362da03abc8b021c1ec2a Reviewed-on: https://go-review.googlesource.com/126015 Reviewed-by: Brad Fitzpatrick --- 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()