mirror of
https://github.com/golang/go
synced 2024-11-11 23:10:23 -07:00
all: fix TODO comment hanging indents
For whatever reason (perhaps some tool does this), a handful of comments, including some doc comments, have TODOs formatted like: // TODO(name): Text here and // more text aligned // under first text. In doc comments the second line turns into a <pre> block, which is undesirable in this context. Rewrite those to unindent, like this instead: // TODO(name): Text here and // more text aligned // at left column. For #51082. Change-Id: Ibf5145659a61ebf9496f016752a709a7656d2d4b Reviewed-on: https://go-review.googlesource.com/c/go/+/384258 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
7d87ccc860
commit
89dff118ad
@ -10,7 +10,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// TODO(rFindley): use a testdata file or file from another package here, to
|
||||
// TODO(rfindley): use a testdata file or file from another package here, to
|
||||
// avoid a moving target.
|
||||
var src = readFile("parser.go")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user