aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/base64
diff options
context:
space:
mode:
authorMihai Todor <todormihai@gmail.com>2018-10-12 14:35:16 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2018-10-12 14:36:03 +0000
commit1f95e0a9d99c8307b24e8bf542ae0e093ee95838 (patch)
treec91a94be86db9f902a7e331a992fe207e9f7a258 /src/encoding/base64
parent93cf82f08af78869a721d4e48fc4fd1ce08cd259 (diff)
downloadgo-1f95e0a9d99c8307b24e8bf542ae0e093ee95838.tar.gz
go-1f95e0a9d99c8307b24e8bf542ae0e093ee95838.zip
encoding/base64: fix typo in decodeQuantum docs
Change-Id: I643540bcea574d8a70b79237d97097dcc7368766 GitHub-Last-Rev: e2be58d1ab84f91dfbba1067aae7145f24fd650d GitHub-Pull-Request: golang/go#28125 Reviewed-on: https://go-review.googlesource.com/c/141119 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/encoding/base64')
-rw-r--r--src/encoding/base64/base64.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/base64/base64.go b/src/encoding/base64/base64.go
index e8afc48859..0bb37b311a 100644
--- a/src/encoding/base64/base64.go
+++ b/src/encoding/base64/base64.go
@@ -270,7 +270,7 @@ func (e CorruptInputError) Error() string {
return "illegal base64 data at input byte " + strconv.FormatInt(int64(e), 10)
}
-// decodeQuantum decodes up to 4 base64 bytes. It takes for parameters
+// decodeQuantum decodes up to 4 base64 bytes. The received parameters are
// the destination buffer dst, the source buffer src and an index in the
// source buffer si.
// It returns the number of bytes read from src, the number of bytes written