mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
9c0b145e4c
commit
3f12d27133
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue