-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
stabilize core::array::{from_ref,from_mut}
in 1.53.0
#84105
Conversation
r? @m-ou-se (rust-highfive has picked a reviewer for you, use r? to override) |
I've started the FCP process on the tracking issue: #77101 (comment) (We nowadays try to do the FCP on the tracking issue before opening the stabilization PR. Otherwise, it often happens that a new discussion about the feature is started on the stabilization PR, separate from the tracking issue.) |
@bors r+ rollup |
📌 Commit 740b052 has been approved by |
…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
Rollup of 8 pull requests Successful merges: - rust-lang#83519 (Implement a lint that highlights all moves larger than a configured limit) - rust-lang#84105 (stabilize `core::array::{from_ref,from_mut}` in `1.53.0`) - rust-lang#84179 (Explicitly implement `!Send` and `!Sync` for `sys::{Args, Env}`) - rust-lang#84427 (Update Clippy) - rust-lang#84459 (rustdoc: Turn `JsonRenderer::mod_item_in` into `unreachable!()`) - rust-lang#84460 (rustdoc: Remove unnecessary `is_crate` field from doctree::Module and clean::Module) - rust-lang#84464 (rustdoc: Get rid of `clean::TypeKind`) - rust-lang#84518 (Clean up DOM strings) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
I didn't get any response in #77101 (comment), so I figured out I can try opening stabilization pr.
This PR stabilizes following functions:
Functions are similar to already stabilized
core::slice::{
from_ref
,from_mut
}
and were unstable without any problems/questions for a while now.resolves #77101
@rustbot modify labels: +T-libs