Fix minor typos in comments

This commit is contained in:
Simon Pasquier 2018-01-09 16:40:31 +01:00
parent bbd69b04cc
commit 7206a8456f
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import (
var errInvalidSize = errors.New("invalid size") var errInvalidSize = errors.New("invalid size")
// enbuf is a helper type to populate a byte slice with various types. // encbuf is a helper type to populate a byte slice with various types.
type encbuf struct { type encbuf struct {
b []byte b []byte
c [binary.MaxVarintLen64]byte c [binary.MaxVarintLen64]byte

View File

@ -117,7 +117,7 @@ func (q *querier) Close() error {
return merr.Err() return merr.Err()
} }
// NewBlockQuerier returns a queries against the readers. // NewBlockQuerier returns a querier against the reader.
func NewBlockQuerier(b BlockReader, mint, maxt int64) (Querier, error) { func NewBlockQuerier(b BlockReader, mint, maxt int64) (Querier, error) {
indexr, err := b.Index() indexr, err := b.Index()
if err != nil { if err != nil {