Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#84105 - WaffleLapkin:stabilize_array_from_r…
…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
- Loading branch information