From bae7d772e800207ed764b70a9e5963f0c1e8f0aa Mon Sep 17 00:00:00 2001 From: Piers Date: Wed, 4 Jan 2023 16:45:22 +0000 Subject: [PATCH] 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 --- doc/go1.20.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.

-- 2.50.0