diff options
| author | Evan Shaw <chickencha@gmail.com> | 2015-12-30 13:23:11 +1300 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2015-12-30 07:27:12 +0000 |
| commit | e35901fd65a9c0f475de260a79b7b628d9d07ebf (patch) | |
| tree | 0b6b03b9afec69b747aa9435bc80e076285ccc52 /src/database/sql | |
| parent | 4601776901a4db8b213d66392128a7a2f1c8d1c4 (diff) | |
| download | go-e35901fd65a9c0f475de260a79b7b628d9d07ebf.tar.xz | |
database/sql: fix doc typos
Change-Id: I374dabed6bf9783839d637e9d7fd6f4e61c7eecf
Reviewed-on: https://go-review.googlesource.com/18183
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/database/sql')
| -rw-r--r-- | src/database/sql/sql.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go index 11ca68bfc0..2d1528a21f 100644 --- a/src/database/sql/sql.go +++ b/src/database/sql/sql.go @@ -1137,7 +1137,7 @@ func (db *DB) queryConn(dc *driverConn, releaseConn func(error), query string, a } // QueryRow executes a query that is expected to return at most one row. -// QueryRow always return a non-nil value. Errors are deferred until +// QueryRow always returns a non-nil value. Errors are deferred until // Row's Scan method is called. func (db *DB) QueryRow(query string, args ...interface{}) *Row { rows, err := db.Query(query, args...) @@ -1411,7 +1411,7 @@ func (tx *Tx) Query(query string, args ...interface{}) (*Rows, error) { } // QueryRow executes a query that is expected to return at most one row. -// QueryRow always return a non-nil value. Errors are deferred until +// QueryRow always returns a non-nil value. Errors are deferred until // Row's Scan method is called. func (tx *Tx) QueryRow(query string, args ...interface{}) *Row { rows, err := tx.Query(query, args...) |
