From 7fb7f53232def3bcd2e0f0dddac7c3ffc47bc5aa Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 21 Aug 2015 11:06:04 +0900 Subject: [PATCH] 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 --- src/encoding/base64/base64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)