Fix comment typos

This commit is contained in:
Tobie Morgan Hitchcock 2018-04-14 18:02:58 +01:00
parent ac19b552e5
commit 6354d0ce2a
2 changed files with 4 additions and 4 deletions

View file

@ -347,7 +347,7 @@ func (e *executor) operate(ctx context.Context, stm sql.Statement) (res []interf
} }
// If the context is already closed or errord, // If the context is already closed or failed,
// then ignore this result, clear all queued // then ignore this result, clear all queued
// changes, and reset the transaction. // changes, and reset the transaction.

View file

@ -94,14 +94,14 @@ func (d *document) lives(ctx context.Context, when method) (err error) {
// If the live query has specified to only // If the live query has specified to only
// receive diff changes, then there will be // receive diff changes, then there will be
// no project fields for this query. // no projected fields for this query.
case true: case true:
doc = d.diff() doc = d.diff()
// If the query has project fields which it // If the query has projected fields which it
// wants to receive, then let's fetch thses // wants to receive, then let's fetch these
// fields, and return them to the socket. // fields, and return them to the socket.
case false: case false: