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:
parent
80cb47b706
commit
06e18ca5a3
@ -60,7 +60,7 @@ func ExampleIndex() {
|
||||
// -1
|
||||
}
|
||||
|
||||
func ExampleRune() {
|
||||
func ExampleIndexRune() {
|
||||
fmt.Println(strings.IndexRune("chicken", 'k'))
|
||||
fmt.Println(strings.IndexRune("chicken", 'd'))
|
||||
// Output:
|
||||
|
Loading…
Reference in New Issue
Block a user