Open fee1-dead opened 2 years ago
Does this issue also track const
implementations of slice
and str
iterators and their related functions or would that be a separate tracking issue?
For example:
core::slice::Iter
and slice.iter()
core::str::Chars
and str.chars()
@Expyron: those implementations have not been added yet. My plan is to land the smallest possible PR that simply makes it possible to work, and constify others in much smaller, finer grained PRs. Further work should use this tracking issue if related.
Any updates on this?
@TiagoCavalcante: implementation has been stalled for more compiler related work to make this as easy to maintain as possible.
@fee1-dead could you update the linked PR to the new one?
Is this affected by https://github.com/rust-lang/rust/pull/110393?
Feature gate:
#![feature(const_iter)]
This is a tracking issue for
const
Iterator
impls and relatedconst fn
s.Public API
Steps / History
Unresolved Questions