mirror of
https://github.com/golang/go
synced 2024-11-24 23:07:56 -07:00
This was intentionally //-style not // -style .
This commit is contained in:
parent
f4d50977b1
commit
0510b3ac10
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user