-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Tracking Issue for const_copy_from_slice
#131415
Comments
This comment has been minimized.
This comment has been minimized.
Mark `slice::copy_from_slice` unstably const Tracking issue rust-lang#131415 I used `const_eval_select` for runtime and const panic functions because const formatting isn't available yet.
Rollup merge of rust-lang#131416 - okaneco:const_copy, r=RalfJung Mark `slice::copy_from_slice` unstably const Tracking issue rust-lang#131415 I used `const_eval_select` for runtime and const panic functions because const formatting isn't available yet.
@rust-lang/libs-api @rust-lang/wg-const-eval this function has been stable since Rust 1.9, and can be fully implemented using already-const-stable facilities (largely, impl<T> [T] {
pub const fn copy_from_slice(&mut self, src: &[T])
where
T: Copy;
} |
@rfcbot fcp merge |
Team member @dtolnay has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. This will be merged soon. |
Rollup merge of rust-lang#138098 - okaneco:stabilize_const_copy_from_slice, r=tgross35 Stabilize feature `const_copy_from_slice` Stabilizes `copy_from_slice` method on `[T]` FCP completed rust-lang#131415 (comment) Closes rust-lang#131415
Mark `slice::copy_from_slice` unstably const Tracking issue rust-lang#131415 I used `const_eval_select` for runtime and const panic functions because const formatting isn't available yet.
Feature gate:
#![feature(const_copy_from_slice)]
This is a tracking issue for using
<[T]>::copy_from_slice
inconst
.Public API
Steps / History
slice::copy_from_slice
unstably const #131416Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩
The text was updated successfully, but these errors were encountered: