diff options
| author | CAD97 <cad97@cad97.com> | 2020-05-20 23:46:57 -0400 |
|---|---|---|
| committer | CAD97 <cad97@cad97.com> | 2020-05-21 00:54:46 -0400 |
| commit | 96f387920c21a83fa620b1838066fd4c73c4b486 (patch) | |
| tree | fca025c1dd18616daaa7dfe407ffc842f1c561d5 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 3a7dfda40a3e798bf086bd58cc7e5e09deb808b5 (diff) | |
| download | rust-96f387920c21a83fa620b1838066fd4c73c4b486.tar.gz rust-96f387920c21a83fa620b1838066fd4c73c4b486.zip | |
impl Step for char
Enables Range<char> to be iterable
Note: https://rust.godbolt.org/z/fdveKo
An iteration over all char ('\0'..=char::MAX)
includes unreachable panic code currently.
Updating RangeInclusive::next to call
Step::forward_unchecked (which is safe to do
but not done yet becuase it wasn't necessary)
successfully removes the panic from this iteration.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
