You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ProHaller opened this issue
May 17, 2025
· 1 comment
· Fixed by #141110
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.
I believe this is intended as a simple description of what the example is doing, which isn't wrong.
-> However, it is only correct if the slice is 4 elements total.
Suggested correction:
"Splitting off a slice from the third element to the last:"
The text was updated successfully, but these errors were encountered:
ProHaller
added
the
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
label
May 17, 2025
jieyouxu
added
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
May 17, 2025
fmease
added a commit
to fmease/rust
that referenced
this issue
May 18, 2025
Rollup merge of rust-lang#141110 - xizheyin:issue-141107, r=workingjubilee
[std] fix the presentation of `split_off_mut` and `split_off` documentation
Fixesrust-lang#141107
r? libs
github-actionsbot
pushed a commit
to model-checking/verify-rust-std
that referenced
this issue
May 21, 2025
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.
Location
In the second example of each of these:
<[T]>::split_off
<[T]>::split_off_mut
Summary
The second example of these two APIs are described as follows:
I believe this is intended as a simple description of what the example is doing, which isn't wrong.
-> However, it is only correct if the slice is 4 elements total.
Suggested correction:
"Splitting off a slice from the third element to the last:"
The text was updated successfully, but these errors were encountered: