aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/hashmap.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2016-10-12 13:11:02 -0400
committerRuss Cox <rsc@golang.org>2016-10-12 18:30:29 +0000
commit55ef67f2f85c51d415a030ae144a0b3301a097bd (patch)
treec0d130d65aa1e07f07f7a89ec530385955599fd6 /src/runtime/hashmap.go
parent413afcafbfd45b6b58023a49484d8480143960e0 (diff)
downloadgo-55ef67f2f85c51d415a030ae144a0b3301a097bd.tar.xz
unicode: change SimpleFold to handle invalid runes
Functions like ToLower and ToUpper return the invalid rune back, so we might as well do the same here. I changed my mind about panicking when I tried to document the behavior. Fixes #16690 (again). Change-Id: If1c68bfcd66daea160fd19948e7672b0e1add106 Reviewed-on: https://go-review.googlesource.com/30935 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/runtime/hashmap.go')
0 files changed, 0 insertions, 0 deletions