From 0510b3ac10f78c13837fdfb50c404d82f51a51e6 Mon Sep 17 00:00:00 2001 From: oldme Date: Thu, 18 Apr 2024 09:33:38 +0800 Subject: [PATCH] This was intentionally //-style not // -style . --- src/go/ast/ast.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/go/ast/ast.go b/src/go/ast/ast.go index 38f7ec33586..6420253b48a 100644 --- a/src/go/ast/ast.go +++ b/src/go/ast/ast.go @@ -123,7 +123,7 @@ func (g *CommentGroup) Text() string { // The parser has given us exactly the comment text. switch c[1] { case '/': - // -style comment (no newline at the end) + //-style comment (no newline at the end) c = c[2:] if len(c) == 0 { // empty line