From: Brad Fitzpatrick Date: Fri, 21 Aug 2015 02:06:04 +0000 (+0900) Subject: encoding/base64: fix copy-paste-o bug in RawURLEncoding docs X-Git-Tag: go1.6beta1~1316 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7fb7f53232def3bcd2e0f0dddac7c3ffc47bc5aa;p=gostls13.git encoding/base64: fix copy-paste-o bug in RawURLEncoding docs Fixes #12244 Change-Id: Iee4e45d9bca0718c71fcc574bc51b2084c3dcb2a Reviewed-on: https://go-review.googlesource.com/13783 Reviewed-by: Josh Bleecher Snyder --- diff --git a/src/encoding/base64/base64.go b/src/encoding/base64/base64.go index 3302fb4a74..4f665d38c9 100644 --- a/src/encoding/base64/base64.go +++ b/src/encoding/base64/base64.go @@ -75,7 +75,7 @@ var URLEncoding = NewEncoding(encodeURL) // This is the same as StdEncoding but omits padding characters. var RawStdEncoding = StdEncoding.WithPadding(NoPadding) -// URLEncoding is the unpadded alternate base64 encoding defined in RFC 4648. +// RawURLEncoding is the unpadded alternate base64 encoding defined in RFC 4648. // It is typically used in URLs and file names. // This is the same as URLEncoding but omits padding characters. var RawURLEncoding = URLEncoding.WithPadding(NoPadding)