aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/url/url.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/url/url.go b/src/net/url/url.go
index b2de6d6319..7c3d24493e 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 3-byte encoded substrings of the form "%AB" into the
+// converting each 3-byte encoded substring of the form "%AB" into the
// hex-decoded byte 0xAB. It also converts '+' into ' ' (space).
// It returns an error if any % is not followed by two hexadecimal
// digits.
@@ -173,7 +173,7 @@ func QueryUnescape(s string) (string, error) {
}
// PathUnescape does the inverse transformation of PathEscape,
-// converting 3-byte encoded substrings of the form "%AB" into the
+// converting each 3-byte encoded substring of the form "%AB" into the
// hex-decoded byte 0xAB. It also converts '+' into ' ' (space).
// It returns an error if any % is not followed by two hexadecimal
// digits.