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.
step
, steps_between
, and is_negative
once Range::step_by is deletedreplace_zero
and replace_one
with something more useful (some options: Make RangeInclusive just a two-field struct (amend 1192) rfcs#1980 (comment))steps_between_by_one
so that Range<u128>
can be TrustedLen
(rather than it only working well with types that fit in usize
)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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4