mirror of https://github.com/golang/go.git
fixes #43116: typo for source code comment
This commit is contained in:
parent
56b783ad94
commit
0a86e665b2
|
|
@ -1141,7 +1141,7 @@ func (db *DB) connectionOpener(ctx context.Context) {
|
|||
|
||||
// Open one new connection
|
||||
func (db *DB) openNewConnection(ctx context.Context) {
|
||||
// maybeOpenNewConnctions has already executed db.numOpen++ before it sent
|
||||
// maybeOpenNewConnections has already executed db.numOpen++ before it sent
|
||||
// on db.openerCh. This function must execute db.numOpen-- if the
|
||||
// connection fails or is closed before returning.
|
||||
ci, err := db.connector.Connect(ctx)
|
||||
|
|
|
|||
Loading…
Reference in New Issue