]> Cypherpunks repositories - gostls13.git/commit
encoding/hex: improve Decode and DecodeString docs
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 31 May 2018 19:30:19 +0000 (12:30 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 31 May 2018 19:49:01 +0000 (19:49 +0000)
commita34e6650c0847ba54445b036dfd33e7d98fe8a2c
tree5d2fc1e31c0af2a72e40e2948756473a7205bc96
parente4259d67b9e1f0180a923faa512a1781465faac4
encoding/hex: improve Decode and DecodeString docs

Simplify the wording of both.

Make the DecodeString docs more accurate:
DecodeString returns a slice, not a string.

Change-Id: Iba7003f55fb0a37aafcbeee59a30492c0f68aa4e
Reviewed-on: https://go-review.googlesource.com/115615
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/encoding/hex/hex.go