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. diff --git a/src/html/template/escape_test.go b/src/html/template/escape_test.go index f6ace496e7..0c854c31a3 100644 --- a/src/html/template/escape_test.go +++ b/src/html/template/escape_test.go @@ -359,7 +359,7 @@ func TestEscape(t *testing.T) { { "styleStrEncodedProtocolEncoded", ``, - // The CSS string 'javascript\\3a alert(1337)' does not contains a colon. + // The CSS string 'javascript\\3a alert(1337)' does not contain a colon. ``, }, {