Skip to content

Commit bae7d77

Browse files
helloPiersgopherbot
authored andcommitted
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: 8849285 GitHub-Pull-Request: #57579 Reviewed-on: https://go-review.googlesource.com/c/go/+/460458 TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]>
1 parent 4e7c838 commit bae7d77

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/go1.20.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,10 +1121,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
11211121
<dd>
11221122
<p><!-- CL 407176, https://go.dev/issue/42537 -->
11231123
The new
1124-
<a href="/pkg/bytes/#CutPrefix"><code>CutPrefix</code></a> and
1125-
<a href="/pkg/bytes/#CutSuffix"><code>CutSuffix</code></a> functions
1126-
are like <a href="/pkg/bytes/#TrimPrefix"><code>TrimPrefix</code></a>
1127-
and <a href="/pkg/bytes/#TrimSuffix"><code>TrimSuffix</code></a>
1124+
<a href="/pkg/strings/#CutPrefix"><code>CutPrefix</code></a> and
1125+
<a href="/pkg/strings/#CutSuffix"><code>CutSuffix</code></a> functions
1126+
are like <a href="/pkg/strings/#TrimPrefix"><code>TrimPrefix</code></a>
1127+
and <a href="/pkg/strings/#TrimSuffix"><code>TrimSuffix</code></a>
11281128
but also report whether the string was trimmed.
11291129
</p>
11301130

0 commit comments

Comments
 (0)