From: Piers Date: Wed, 4 Jan 2023 16:45:22 +0000 (+0000) Subject: doc/go1.20: fix links to new strings functions X-Git-Tag: go1.20rc3~1^2~18 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bae7d772e8;p=gostls13.git doc/go1.20: fix links to new strings functions Links under strings package were linking to the bytes versions of the functions. Change-Id: If6ebe37fede8e417f8683695783aa767bc01e9c7 GitHub-Last-Rev: 8849285122cb58c17b5979144649075861d8a134 GitHub-Pull-Request: golang/go#57579 Reviewed-on: https://go-review.googlesource.com/c/go/+/460458 TryBot-Result: Gopher Robot Run-TryBot: Ian Lance Taylor Reviewed-by: Heschi Kreinick Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor --- diff --git a/doc/go1.20.html b/doc/go1.20.html index 6da4f6df23..23fa82c41b 100644 --- a/doc/go1.20.html +++ b/doc/go1.20.html @@ -1121,10 +1121,10 @@ proxyHandler := &httputil.ReverseProxy{

The new - CutPrefix and - CutSuffix functions - are like TrimPrefix - and TrimSuffix + CutPrefix and + CutSuffix functions + are like TrimPrefix + and TrimSuffix but also report whether the string was trimmed.