mirror of
https://github.com/golang/go
synced 2024-11-26 09:08:07 -07:00
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: 8849285122
GitHub-Pull-Request: golang/go#57579
Reviewed-on: https://go-review.googlesource.com/c/go/+/460458
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
4e7c838483
commit
bae7d772e8
@ -1121,10 +1121,10 @@ proxyHandler := &httputil.ReverseProxy{
|
|||||||
<dd>
|
<dd>
|
||||||
<p><!-- CL 407176, https://go.dev/issue/42537 -->
|
<p><!-- CL 407176, https://go.dev/issue/42537 -->
|
||||||
The new
|
The new
|
||||||
<a href="/pkg/bytes/#CutPrefix"><code>CutPrefix</code></a> and
|
<a href="/pkg/strings/#CutPrefix"><code>CutPrefix</code></a> and
|
||||||
<a href="/pkg/bytes/#CutSuffix"><code>CutSuffix</code></a> functions
|
<a href="/pkg/strings/#CutSuffix"><code>CutSuffix</code></a> functions
|
||||||
are like <a href="/pkg/bytes/#TrimPrefix"><code>TrimPrefix</code></a>
|
are like <a href="/pkg/strings/#TrimPrefix"><code>TrimPrefix</code></a>
|
||||||
and <a href="/pkg/bytes/#TrimSuffix"><code>TrimSuffix</code></a>
|
and <a href="/pkg/strings/#TrimSuffix"><code>TrimSuffix</code></a>
|
||||||
but also report whether the string was trimmed.
|
but also report whether the string was trimmed.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user