]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/gofmt: unindent the second line of a BUG note
authorDamien Lespiau <damien.lespiau@gmail.com>
Sat, 18 Mar 2017 19:44:37 +0000 (19:44 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 18 Mar 2017 23:33:31 +0000 (23:33 +0000)
Currently, this second line is treated a pre-formatted text as it's
indented relatively to the BUG() line.

The current state can be seen at:

  https://golang.org/cmd/gofmt/#pkg-note-BUG

Unindenting makes the rest of the sentence part of the same paragraph.

Change-Id: I6dee55c9c321b1a03b41c7124c6a1ea15772c878
Reviewed-on: https://go-review.googlesource.com/38353
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/gofmt/doc.go

index 8b22f03f653c3d2763871a06dcd7f987e2ead519..a552d4cde48be65b2e004048df1f2c5076d96e24 100644 (file)
@@ -100,4 +100,4 @@ package main
 
 // BUG(rsc): The implementation of -r is a bit slow.
 // BUG(gri): If -w fails, the restored original file may not have some of the
-//           original file attributes.
+// original file attributes.