You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of #131177 - workingjubilee:stabilize-const-mut-referees, r=tgross35
Stabilize 5 `const_mut_refs`-dependent API
Since `const_mut_refs` and `const_refs_to_cell` have been stabilized, we now may create mutable references inside our library API. Thus we now stabilize the `const fn` version of these public library APIs which required such in their implementation:
- const `NonNull::as_mut` #91822 (comment)
- const `slice::{first,last}_mut`: #83570 (comment)
- const `str::as_{mut_ptr,bytes_mut}`: #130086 (comment)
- const `str::from_utf8_unchecked_mut`: #91005 (comment)
- const `UnsafeCell::get_mut`: #88836 (comment)
0 commit comments