1
0
mirror of https://github.com/golang/go synced 2024-11-14 20:20:30 -07:00

strings: fix typo in examples

The correct word can be seen in lines 381-382.

Change-Id: If3876bd34b6433b69531763f63af88d60a0bfad0
Reviewed-on: https://go-review.googlesource.com/c/go/+/606375
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
This commit is contained in:
Gökhan Özeloğlu 2024-08-16 23:41:25 +03:00 committed by Gopher Robot
parent 79ca434ac6
commit 0b23e477a2

View File

@ -388,8 +388,8 @@ func ExampleToLower() {
} }
func ExampleToLowerSpecial() { func ExampleToLowerSpecial() {
fmt.Println(strings.ToLowerSpecial(unicode.TurkishCase, nnek İş")) fmt.Println(strings.ToLowerSpecial(unicode.TurkishCase, rnek İş"))
// Output: önnek iş // Output: örnek iş
} }
func ExampleTrim() { func ExampleTrim() {