diff --git a/promql/lex.go b/promql/lex.go index 96ef608a8..787b054b5 100644 --- a/promql/lex.go +++ b/promql/lex.go @@ -332,7 +332,7 @@ func (l *Lexer) NextItem(itemp *Item) { l.lastPos = l.itemp.Pos } -// lex creates a new scanner for the input string. +// Lex creates a new scanner for the input string. func Lex(input string) *Lexer { l := &Lexer{ input: input,