Skip to content

Commit 7fb7f53

Browse files
committed
encoding/base64: fix copy-paste-o bug in RawURLEncoding docs
Fixes golang#12244 Change-Id: Iee4e45d9bca0718c71fcc574bc51b2084c3dcb2a Reviewed-on: https://go-review.googlesource.com/13783 Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
1 parent b733234 commit 7fb7f53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encoding/base64/base64.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ var URLEncoding = NewEncoding(encodeURL)
7575
// This is the same as StdEncoding but omits padding characters.
7676
var RawStdEncoding = StdEncoding.WithPadding(NoPadding)
7777

78-
// URLEncoding is the unpadded alternate base64 encoding defined in RFC 4648.
78+
// RawURLEncoding is the unpadded alternate base64 encoding defined in RFC 4648.
7979
// It is typically used in URLs and file names.
8080
// This is the same as URLEncoding but omits padding characters.
8181
var RawURLEncoding = URLEncoding.WithPadding(NoPadding)

0 commit comments

Comments
 (0)