summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2013-11-01 11:30:30 +1100
committerAndrew Gerrand <adg@golang.org>2013-11-01 11:30:30 +1100
commit193b88db2607ac1e8fe3e6417619ff35a00de028 (patch)
tree9a64505ca4f3e3e82b77873d0453e08696d9d5c4
parent9cf3e1c5e5ee33f3af9e06ff3a70e75fef1db6c7 (diff)
downloadgo-193b88db2607ac1e8fe3e6417619ff35a00de028.tar.gz
[release-branch.go1.2] database/sql: Fix typos in doc
??? CL 17590043 / fb5224487f1b database/sql: Fix typos in doc R=golang-dev CC=bradfitz, golang-dev https://codereview.appspot.com/17590043 Committer: Brad Fitzpatrick <bradfitz@golang.org> ??? R=golang-dev CC=golang-dev https://codereview.appspot.com/20150046
-rw-r--r--src/pkg/database/sql/driver/driver.go4
-rw-r--r--src/pkg/database/sql/sql.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/database/sql/driver/driver.go b/src/pkg/database/sql/driver/driver.go
index d7ca94f78..0828e63c6 100644
--- a/src/pkg/database/sql/driver/driver.go
+++ b/src/pkg/database/sql/driver/driver.go
@@ -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
diff --git a/src/pkg/database/sql/sql.go b/src/pkg/database/sql/sql.go
index f7b4f8cda..b24b2a8a5 100644
--- a/src/pkg/database/sql/sql.go
+++ b/src/pkg/database/sql/sql.go
@@ -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