aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/base64
diff options
context:
space:
mode:
authorKevin Burke <kev@inburke.com>2017-03-07 09:03:40 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2017-03-07 17:42:45 +0000
commitc5cdda401e483a3a4dae7cc61eb78521ab953b04 (patch)
tree2a0c4a918f60deb213f4e4a779d834b6f041b8c9 /src/encoding/base64
parentf639353330797b819f29fa2b9b4b73d09b4c7584 (diff)
downloadgo-c5cdda401e483a3a4dae7cc61eb78521ab953b04.tar.gz
go-c5cdda401e483a3a4dae7cc61eb78521ab953b04.zip
encoding/base64, html/template: fix grammar mistakes
Replace 'does not contains' with 'does not contain' where it appears in the source code. Change-Id: Ie7266347c429512c8a41a7e19142afca7ead3922 Reviewed-on: https://go-review.googlesource.com/37887 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 be69271d19..5a384315f9 100644
--- a/src/encoding/base64/base64.go
+++ b/src/encoding/base64/base64.go
@@ -35,7 +35,7 @@ const encodeStd = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz012345678
const encodeURL = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
// NewEncoding returns a new padded Encoding defined by the given alphabet,
-// which must be a 64-byte string that does not contains the padding character
+// which must be a 64-byte string that does not contain the padding character
// or CR / LF ('\r', '\n').
// The resulting Encoding uses the default padding character ('='),
// which may be changed or disabled via WithPadding.