-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for const_slice_make_iter #137737
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 RFCS-tracking-needs-to-bakeStatus: The implementation is "complete" but it needs time to bake.Status: The implementation is "complete" but it needs time to bake.T-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 RFCS-tracking-needs-to-bakeStatus: The implementation is "complete" but it needs time to bake.Status: The implementation is "complete" but it needs time to bake.T-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_slice_make_iter)]This is a tracking issue for making the following methods
const:slice::iterslice::iter_mutslice::windowsslice::chunksslice::chunks_mutslice::chunks_exactslice::chunks_exact_mutslice::array_windowsslice::rchunksslice::rchunks_mutslice::rchunks_exactslice::rchunks_exact_mutslice::chunk_byslice::chunk_by_mutThis enables the storing iterators in associated constants, which can be marginally helpful for some esoteric use cases:
Now, you might be saying, that seems extremely niche. And you'd be right. But with
constgetting stronger and stronger with each release, having unnecessaryconstlimitations is preventing code reuse betweenconstand non-constfunctions.Public API
Steps
Unresolved Questions
Footnotes
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩