diff options
| author | Rob Pike <r@golang.org> | 2013-03-15 17:08:07 -0700 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2013-03-15 17:08:07 -0700 |
| commit | 464257eeffedcf2c9e04fd8c47edc1f1fc491b62 (patch) | |
| tree | 5ab7c45884f6b6cb3f8703a2a3b53a63c0dd1f95 /src/pkg/bytes/bytes.go | |
| parent | f98b8a00db9283930ee8f00046e9d87c673b0dca (diff) | |
| download | go-464257eeffedcf2c9e04fd8c47edc1f1fc491b62.tar.xz | |
bytes,string: move the BUG to the comment of the function it's about
Avoids printing it every time we ask a question about the package from
the command line.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/7789048
Diffstat (limited to 'src/pkg/bytes/bytes.go')
| -rw-r--r-- | src/pkg/bytes/bytes.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/bytes/bytes.go b/src/pkg/bytes/bytes.go index 3bab65ef90..00ce37da08 100644 --- a/src/pkg/bytes/bytes.go +++ b/src/pkg/bytes/bytes.go @@ -461,10 +461,10 @@ func isSeparator(r rune) bool { return unicode.IsSpace(r) } -// BUG(r): The rule Title uses for word boundaries does not handle Unicode punctuation properly. - // Title returns a copy of s with all Unicode letters that begin words // mapped to their title case. +// +// BUG(r): 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 |
