-
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
Tracking issue for array::from_ref and array::from_mut #77101
Comments
What is blocking stabilization, it seems like there aren't any open questions/controversies. Shall I make a stabilization PR? |
@rfcbot merge |
Team member @m-ou-se 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. The RFC will be merged soon. |
…ef, r=m-ou-se stabilize `core::array::{from_ref,from_mut}` in `1.53.0` I didn't get any response in rust-lang#77101 (comment), so I figured out I can try opening stabilization pr. --- This PR stabilizes following functions: ```rust // core::array pub fn from_ref<T>(s: &T) -> &[T; 1]; pub fn from_mut<T>(s: &mut T) -> &mut [T; 1]; ``` Functions are similar to already stabilized `core::slice::{`[`from_ref`](https://doc.rust-lang.org/std/slice/fn.from_ref.html),[`from_mut`](https://doc.rust-lang.org/std/slice/fn.from_mut.html)`}` and were unstable without any problems/questions for a while now. --- resolves rust-lang#77101 `@rustbot` modify labels: +T-libs
Has anyone proposed to stabilize these? Could I just open a PR to start that? :) |
@oconnor663 I've proposed. In fact, they were already stabilized :) |
Since |
@mzji Feel free to create a pull request! I would imagine it would be accepted. |
Adding |
Tracking issue for
feature(array_from_ref)
which adds the following methodsSteps / History
The text was updated successfully, but these errors were encountered: