diff options
author | Josh Bleecher Snyder <josharian@gmail.com> | 2016-09-10 14:05:51 -0700 |
---|---|---|
committer | Josh Bleecher Snyder <josharian@gmail.com> | 2016-09-10 21:40:16 +0000 |
commit | 4cf95fda64d76ca044319fd0a292ad3a77c1da0b (patch) | |
tree | 3c4188804afe58cd22fd63170ba507684b32a825 /src/encoding/hex | |
parent | 0e435347b1ed888f51706d5467fabb829292a5ff (diff) | |
download | go-4cf95fda64d76ca044319fd0a292ad3a77c1da0b.tar.gz go-4cf95fda64d76ca044319fd0a292ad3a77c1da0b.zip |
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 <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding/hex')
-rw-r--r-- | src/encoding/hex/example_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/hex/example_test.go b/src/encoding/hex/example_test.go index 2cf756ce12..3580757a54 100644 --- a/src/encoding/hex/example_test.go +++ b/src/encoding/hex/example_test.go @@ -38,7 +38,7 @@ func ExampleDecode() { // Hello Gopher! } -func ExampleDecodedString() { +func ExampleDecodeString() { const s = "48656c6c6f20476f7068657221" decoded, err := hex.DecodeString(s) if err != nil { |