mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: fix typos
caught by https://github.com/lyda/misspell-check. R=golang-dev, gri CC=golang-dev https://golang.org/cl/6949072
This commit is contained in:
parent
326ccebec8
commit
d1ef9b56fb
18 changed files with 25 additions and 25 deletions
|
|
@ -266,7 +266,7 @@ func (db *DB) connIfFree(wanted driver.Conn) (conn driver.Conn, ok bool) {
|
|||
var putConnHook func(*DB, driver.Conn)
|
||||
|
||||
// putConn adds a connection to the db's free pool.
|
||||
// err is optionally the last error that occured on this connection.
|
||||
// err is optionally the last error that occurred on this connection.
|
||||
func (db *DB) putConn(c driver.Conn, err error) {
|
||||
if err == driver.ErrBadConn {
|
||||
// Don't reuse bad connections.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue