1
0
mirror of https://github.com/golang/go synced 2024-11-21 21:44:40 -07:00

strings: Rename example to match function name.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5729065
This commit is contained in:
Volker Dobler 2012-03-05 22:19:51 +11:00 committed by Andrew Gerrand
parent 80cb47b706
commit 06e18ca5a3

View File

@ -60,7 +60,7 @@ func ExampleIndex() {
// -1
}
func ExampleRune() {
func ExampleIndexRune() {
fmt.Println(strings.IndexRune("chicken", 'k'))
fmt.Println(strings.IndexRune("chicken", 'd'))
// Output: