]> Cypherpunks repositories - gostls13.git/commitdiff
encoding/base64: fix typo in comment
authorGiles Lean <giles.lean@pobox.com>
Tue, 9 Mar 2010 02:12:25 +0000 (18:12 -0800)
committerRuss Cox <rsc@golang.org>
Tue, 9 Mar 2010 02:12:25 +0000 (18:12 -0800)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/258041

src/pkg/encoding/base64/base64.go

index d4429094a2e43a420d6588167ba5033c3ddf6010..c8e70fccf0675da3b2ccb49776b39b9685a04908 100644 (file)
@@ -324,6 +324,6 @@ func NewDecoder(enc *Encoding, r io.Reader) io.Reader {
        return &decoder{enc: enc, r: r}
 }
 
-// DecodeLen returns the maximum length in bytes of the decoded data
+// DecodedLen returns the maximum length in bytes of the decoded data
 // corresponding to n bytes of base64-encoded data.
 func (enc *Encoding) DecodedLen(n int) int { return n / 4 * 3 }