Skip to content

Commit 4cf95fd

Browse files
committed
encoding/hex: fix example function name
Found by vet. Change-Id: I556d87f853a734002f779b04ba5a3588a3117106 Reviewed-on: https://go-review.googlesource.com/28958 Run-TryBot: Josh Bleecher Snyder <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent 0e43534 commit 4cf95fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encoding/hex/example_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func ExampleDecode() {
3838
// Hello Gopher!
3939
}
4040

41-
func ExampleDecodedString() {
41+
func ExampleDecodeString() {
4242
const s = "48656c6c6f20476f7068657221"
4343
decoded, err := hex.DecodeString(s)
4444
if err != nil {

0 commit comments

Comments
 (0)