summaryrefslogtreecommitdiff
path: root/src/strings
diff options
context:
space:
mode:
authorareski <areski@gmail.com>2014-12-22 18:16:15 +0100
committerRuss Cox <rsc@golang.org>2015-03-20 18:34:39 +0000
commit3f12d271335abc9d49d419247528cf286a04f9a6 (patch)
tree65e4b4ff1b97541e5c069ddda9d710f694289d22 /src/strings
parent9c0b145e4ca75df68da0fb11fb122bcc3b6eff27 (diff)
downloadgo-git-3f12d271335abc9d49d419247528cf286a04f9a6.tar.gz
bytes, os/exec, strings: fix a few BUG comments
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>
Diffstat (limited to 'src/strings')
-rw-r--r--src/strings/strings.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings/strings.go b/src/strings/strings.go
index f81a1e2b52..c6085f51d5 100644
--- a/src/strings/strings.go
+++ b/src/strings/strings.go
@@ -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