Fix spelling errors

Signed-off-by: beorn7 <beorn@grafana.com>
This commit is contained in:
beorn7 2022-03-22 16:02:13 +01:00
parent 4210aac74a
commit f9c411604d
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ import (
// Positive bucket indices → | | | ... -1 0 1 2 3
// Negative bucket indices → 3 2 1 0 -1 ...
//
// Wich bucket indices are actually used is determined by the spans.
// Which bucket indices are actually used is determined by the spans.
type Histogram struct {
// Currently valid schema numbers are -4 <= n <= 8. They are all for
// base-2 bucket schemas, where 1 is a bucket boundary in each case, and

View file

@ -128,7 +128,7 @@ const (
ValNone ValueType = iota // No value at the current position.
ValFloat // A simple float, retrieved with At.
ValHistogram // A histogram, retrieve with AtHistogram, but AtFloatHistogram works, too.
ValFloatHistogram // A floating-point histogram, retrive with AtFloatHistogram.
ValFloatHistogram // A floating-point histogram, retrieve with AtFloatHistogram.
)
func (v ValueType) String() string {