Browse Source

Fix typo in comment for func Lex (#6588)

Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
pull/6594/head
Guangwen Feng 5 years ago committed by Brian Brazil
parent
commit
835c27a76b
  1. 2
      promql/lex.go

2
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,

Loading…
Cancel
Save