-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking Issue for Box::take #147212
Copy link
Copy link
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.
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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(box_take)]This is a tracking issue for
Box::take, which adds the ability to move the value out of aBoxwithout consuming its allocation.Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)Box::takefor taking the value out of a box without deallocating it libs-team#663Box::take#147227Unresolved Questions
takethe right name?Box::takefor taking the value out of a box without deallocating it libs-team#663 (comment)Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩