mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
51ddeb9965
commit
4cc09cd532
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue