aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/hex/example_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoding/hex/example_test.go')
-rw-r--r--src/encoding/hex/example_test.go2
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 {