From 094135ff96c8f7a0951f66a2a1f82371b76e143f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 6 Feb 2023 09:09:27 +0100 Subject: tpl/internal: Sync Go template src to Go 1.20 Updates #10691 --- tpl/internal/go_templates/texttemplate/parse/lex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/internal/go_templates/texttemplate/parse/lex.go') diff --git a/tpl/internal/go_templates/texttemplate/parse/lex.go b/tpl/internal/go_templates/texttemplate/parse/lex.go index 3e60a1ece..70fc86b63 100644 --- a/tpl/internal/go_templates/texttemplate/parse/lex.go +++ b/tpl/internal/go_templates/texttemplate/parse/lex.go @@ -520,7 +520,7 @@ func lexVariable(l *lexer) stateFn { return lexFieldOrVariable(l, itemVariable) } -// lexVariable scans a field or variable: [.$]Alphanumeric. +// lexFieldOrVariable scans a field or variable: [.$]Alphanumeric. // The . or $ has been scanned. func lexFieldOrVariable(l *lexer, typ itemType) stateFn { if l.atTerminator() { // Nothing interesting follows -> "." or "$". -- cgit v1.2.3