Fix minor typos in comments
This commit is contained in:
parent
bbd69b04cc
commit
7206a8456f
|
@ -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
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue