-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make <[T]>::split_at_unchecked
and <[T]>::split_at_mut_unchecked
public
#87870
Conversation
r? @yaahc (rust-highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
📌 Commit 48dd2eb has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (5051904): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
The methods were originally added in #75936 (sdroege@30dc32b), but for some reason as private. Nevertheless, the methods have documentation and even a tracking issue.
It's very weird to have a tracking issue for private methods and these methods may be useful outside of the standard library. As such, this PR makes the methods public.