-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(mem_reshape)]
This is a tracking issue for core::mem::reshape
.
core::mem::reshape
allows modifying a mutable reference with its moved underlying value.
Public API
// core::mem
let mut x = "some_string".to_string();
reshape(&mut x, |x| x + " that is reshaped");
println!("{x}");
Steps / History
- Implementation: added core::mem::reshape #130849
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
wmstack and ian-h-chamberlainthe8472
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.