Commit 4cc09cd5 authored by Frédéric Guillot's avatar Frédéric Guillot Committed by Brad Fitzpatrick

database/sql: fix driverStmt.Close() comment typo

Change-Id: I2256c850e071882b00c362da03abc8b021c1ec2a
Reviewed-on: https://go-review.googlesource.com/126015Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 51ddeb99
...@@ -540,7 +540,7 @@ type driverStmt struct { ...@@ -540,7 +540,7 @@ type driverStmt struct {
closeErr error // return value of previous Close call 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. // result.
func (ds *driverStmt) Close() error { func (ds *driverStmt) Close() error {
ds.Lock() ds.Lock()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment