File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1121,10 +1121,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
1121
1121
< dd >
1122
1122
< p > <!-- CL 407176, https://go.dev/issue/42537 -->
1123
1123
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 >
1128
1128
but also report whether the string was trimmed.
1129
1129
</ p >
1130
1130
You can’t perform that action at this time.
0 commit comments