]> Cypherpunks repositories - gostls13.git/commitdiff
encoding/base64: fix typo in decodeQuantum docs
authorMihai Todor <todormihai@gmail.com>
Fri, 12 Oct 2018 14:35:16 +0000 (14:35 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 12 Oct 2018 14:36:03 +0000 (14:36 +0000)
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>
src/encoding/base64/base64.go

index e8afc48859182c437d4571fd5e169da2ea976503..0bb37b311a0992f9d6055b54b6cc3ba727326c0f 100644 (file)
@@ -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