Closed
Description
PR: #39399
Unanswered: should this method be part of DoubleEndedIterator
or Iterator
?
Pros:
- Avoids cluttering
Iterator
docs - Avoids extra constraint in
where
clause - Puts method where it is actually enabled
Cons:
- Inconsistency if other methods (
rev
,rposition
) aren't moved to DEI - Breaking change if other methods are moved to DEI
- Fragments iterator docs; no longer just in
Iterator
- Requires typing
DoubleEndedIterator::rfind
if passed into a function instead ofIterator::find
Noting the above, should Iterator::rev
and Iterator::rposition
be moved to DEI as well?
Metadata
Metadata
Assignees
Labels
Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFCRelevant to the library API team, which will review and decide on the PR/issue.In the final comment period and will be merged soon unless new substantive objections are raised.