-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-iteratorsArea: IteratorsArea: IteratorsB-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.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 RFCLibs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.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.
Description
Split off from #27741 because the stabilization path for step_by
has moved to being on iterators (#41439), and thus not using the Step
trait.
- Remove
step
,steps_between
, andis_negative
once Range::step_by is deleted - Replace
replace_zero
andreplace_one
with something more useful (some options: Make RangeInclusive just a two-field struct (amend 1192) rfcs#1980 (comment)) - Change
steps_between_by_one
so thatRange<u128>
can beTrustedLen
(rather than it only working well with types that fit inusize
) - Make a decision on how
steps_between
should work Step::steps_between does not distinguish overflow and unimplemented (unstable) #48117
(and probably more)
95th, pwnorbitals, discosultan, bb010g, jhpratt and 26 moreschneiderfelipe and alexpovelschneiderfelipe, alexpovel and dzmitry-lahodaschneiderfelipe and alexpovelluojia65, Anders429, matszczygiel, robinhundt, cyqsimon and 9 more
Metadata
Metadata
Assignees
Labels
A-iteratorsArea: IteratorsArea: IteratorsB-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.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 RFCLibs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.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.