]> Cypherpunks repositories - gostls13.git/commitdiff
bytes, os/exec, strings: fix a few BUG comments
authorareski <areski@gmail.com>
Mon, 22 Dec 2014 17:16:15 +0000 (18:16 +0100)
committerRuss Cox <rsc@golang.org>
Fri, 20 Mar 2015 18:34:39 +0000 (18:34 +0000)
Regular expression noteMarker requires the definition of a (who) section
when reading note from a sequence of comments.

Change-Id: I9635de9b86f00d20ec108097fee4d4a8f76237b2
Reviewed-on: https://go-review.googlesource.com/1952
Reviewed-by: Russ Cox <rsc@golang.org>
src/bytes/bytes.go
src/os/exec/exec.go
src/strings/strings.go

index f24a071d14a03c2225ce3cfa1ff8e0d9d0cf4b54..60de451504038875da0466a6b600b00f3d97af85 100644 (file)
@@ -443,7 +443,7 @@ func isSeparator(r rune) bool {
 // Title returns a copy of s with all Unicode letters that begin words
 // mapped to their title case.
 //
-// BUG: The rule Title uses for word boundaries does not handle Unicode punctuation properly.
+// BUG(rsc): The rule Title uses for word boundaries does not handle Unicode punctuation properly.
 func Title(s []byte) []byte {
        // Use a closure here to remember state.
        // Hackish but effective. Depends on Map scanning in order and calling
index 72b4905d5606388247b82bee061c13979b5a828f..bb0c3acf4f3517e91559a9acc7a4d233809a3a7a 100644 (file)
@@ -80,7 +80,7 @@ type Cmd struct {
        // new process. It does not include standard input, standard output, or
        // standard error. If non-nil, entry i becomes file descriptor 3+i.
        //
-       // BUG: on OS X 10.6, child processes may sometimes inherit unwanted fds.
+       // BUG(rsc): On OS X 10.6, child processes may sometimes inherit unwanted fds.
        // http://golang.org/issue/2603
        ExtraFiles []*os.File
 
index f81a1e2b52b955a5efd46ebe9fc560e9408cc093..c6085f51d590640f147b84b447e55211efee19cb 100644 (file)
@@ -520,7 +520,7 @@ func isSeparator(r rune) bool {
 // Title returns a copy of the string s with all Unicode letters that begin words
 // mapped to their title case.
 //
-// BUG: The rule Title uses for word boundaries does not handle Unicode punctuation properly.
+// BUG(rsc): The rule Title uses for word boundaries does not handle Unicode punctuation properly.
 func Title(s string) string {
        // Use a closure here to remember state.
        // Hackish but effective. Depends on Map scanning in order and calling