-
-
Notifications
You must be signed in to change notification settings - Fork 16.1k
Tracking Issue for const_intoiterator_identity #90603
Copy link
Copy link
Closed
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-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]
Description
Activity
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-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]
Feature gate:
#![feature(const_intoiterator_identity)]This is a tracking issue for the
const IntoIteratorimplementation for types that are already iterators.This is not a new api; only constifying an existing one
Public API
Steps / History
impl<I: Iterator> IntoIterator for I#90602Unresolved Questions
Iteratorbeing aconst Iteratoror not? I've gone with having the bound for now. Note: This can be relaxed later without breaking any code.