From 1b12a2ca21776ced3e9d34e14bb442254e250c14 Mon Sep 17 00:00:00 2001 From: Caleb Martinez Date: Fri, 29 Jun 2018 19:56:56 +0000 Subject: [PATCH] net/url: correct the documentation for PathUnescape Fixes issue #26139 Change-Id: Id9a3e5c443ee175ad9add6296ed45bdf328b15a0 GitHub-Last-Rev: b3f8a8f165d15cfffd4948151eae34f95330748c GitHub-Pull-Request: golang/go#26146 Reviewed-on: https://go-review.googlesource.com/121696 Reviewed-by: Brad Fitzpatrick --- src/net/url/url.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/url/url.go b/src/net/url/url.go index 7bcfac44aa..6608dbd74a 100644 --- a/src/net/url/url.go +++ b/src/net/url/url.go @@ -164,7 +164,7 @@ func shouldEscape(c byte, mode encoding) bool { // QueryUnescape does the inverse transformation of QueryEscape, // converting each 3-byte encoded substring of the form "%AB" into the -// hex-decoded byte 0xAB. It also converts '+' into ' ' (space). +// hex-decoded byte 0xAB. // It returns an error if any % is not followed by two hexadecimal // digits. func QueryUnescape(s string) (string, error) { -- 2.50.0