Skip to content

Commit 53cff3f

Browse files
rittnejemattn
authored andcommitted
fix typo in doc comment (#770)
1 parent b4f5cc7 commit 53cff3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sqlite3.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ func (c *SQLiteConn) begin(ctx context.Context) (driver.Tx, error) {
913913
// - rwc
914914
// - memory
915915
//
916-
// shared
916+
// cache
917917
// SQLite Shared-Cache Mode
918918
// https://www.sqlite.org/sharedcache.html
919919
// Values:
@@ -1910,7 +1910,7 @@ func (s *SQLiteStmt) exec(ctx context.Context, args []namedValue) (driver.Result
19101910
resultCh <- result{r, err}
19111911
}()
19121912
select {
1913-
case rv := <- resultCh:
1913+
case rv := <-resultCh:
19141914
return rv.r, rv.err
19151915
case <-ctx.Done():
19161916
select {
@@ -2011,7 +2011,7 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error {
20112011
resultCh <- rc.nextSyncLocked(dest)
20122012
}()
20132013
select {
2014-
case err := <- resultCh:
2014+
case err := <-resultCh:
20152015
return err
20162016
case <-rc.ctx.Done():
20172017
select {

0 commit comments

Comments
 (0)