]> Cypherpunks repositories - gostls13.git/commitdiff
database/sql: Fix typos in doc
authorJulien Schmidt <google@julienschmidt.com>
Tue, 29 Oct 2013 23:03:13 +0000 (16:03 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 29 Oct 2013 23:03:13 +0000 (16:03 -0700)
R=golang-dev
CC=bradfitz, golang-dev
https://golang.org/cl/17590043

src/pkg/database/sql/driver/driver.go
src/pkg/database/sql/sql.go

index d7ca94f7809ff6b9e2284d1832fafcddb6ad3336..0828e63c656899f27a3af97688f8944c83f6092b 100644 (file)
@@ -140,8 +140,8 @@ type Stmt interface {
 }
 
 // ColumnConverter may be optionally implemented by Stmt if the
-// the statement is aware of its own columns' types and can
-// convert from any type to a driver Value.
+// statement is aware of its own columns' types and can convert from
+// any type to a driver Value.
 type ColumnConverter interface {
        // ColumnConverter returns a ValueConverter for the provided
        // column index.  If the type of a specific column isn't known
index f7b4f8cdab8285d8cc98fd0222ffa3f4b68535cb..b24b2a8a550bd2d2bc30b74309a4373c09dbb735 100644 (file)
@@ -201,7 +201,7 @@ type DB struct {
        connRequests *list.List // of connRequest
        numOpen      int
        pendingOpens int
-       // Used to sygnal the need for new connections
+       // Used to signal the need for new connections
        // a goroutine running connectionOpener() reads on this chan and
        // maybeOpenNewConnections sends on the chan (one send per needed connection)
        // It is closed during db.Close(). The close tells the connectionOpener