-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for const_split_off_first_last #138539
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(const_split_off_first_last)]This is a tracking issue for using
<[T]>::split_off_*functions in const. These functions remove either the first or last element from a slice and return a reference or mutable reference to that element.The original functions were stabilized with the
slice_takefeature.slice_taketracking issue: #62280Public API
Steps / History
split_offvariants unstably const #138540Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩