diff options
Diffstat (limited to 'src/pkg/encoding')
| -rw-r--r-- | src/pkg/encoding/base32/base32_test.go | 1 | ||||
| -rw-r--r-- | src/pkg/encoding/hex/hex.go | 1 | ||||
| -rw-r--r-- | src/pkg/encoding/pem/pem.go | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/encoding/base32/base32_test.go b/src/pkg/encoding/base32/base32_test.go index 792e4dc63..3fa1c2b26 100644 --- a/src/pkg/encoding/base32/base32_test.go +++ b/src/pkg/encoding/base32/base32_test.go @@ -25,7 +25,6 @@ var pairs = []testpair{ {"fooba", "MZXW6YTB"}, {"foobar", "MZXW6YTBOI======"}, - // Wikipedia examples, converted to base32 {"sure.", "ON2XEZJO"}, {"sure", "ON2XEZI="}, diff --git a/src/pkg/encoding/hex/hex.go b/src/pkg/encoding/hex/hex.go index 47cdedd60..e7ea8b0f2 100644 --- a/src/pkg/encoding/hex/hex.go +++ b/src/pkg/encoding/hex/hex.go @@ -42,7 +42,6 @@ func (e InvalidHexCharError) String() string { return "invalid hex char: " + strconv.Itoa(int(e)) } - func DecodedLen(x int) int { return x / 2 } // Decode decodes src into DecodedLen(len(src)) bytes, returning the actual diff --git a/src/pkg/encoding/pem/pem.go b/src/pkg/encoding/pem/pem.go index ebe57edc0..12689b57b 100644 --- a/src/pkg/encoding/pem/pem.go +++ b/src/pkg/encoding/pem/pem.go @@ -97,7 +97,7 @@ func Decode(data []byte) (p *Block, rest []byte) { for { // This loop terminates because getLine's second result is - // always smaller than it's argument. + // always smaller than its argument. if len(rest) == 0 { return nil, data } |
