diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-03-03 21:26:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-03 21:26:13 +0100 |
| commit | 8ca3e59f8a768f9d246b69f629097a83af297fa1 (patch) | |
| tree | f8b051e5e83ec116e5d1cd48457679225dc35849 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 2cfab735941e336946e339297c83e4a8cc88a1d1 (diff) | |
| parent | 10183851fbfa68241a5eeaf9b3cc575172731a6d (diff) | |
| download | rust-8ca3e59f8a768f9d246b69f629097a83af297fa1.tar.gz rust-8ca3e59f8a768f9d246b69f629097a83af297fa1.zip | |
Rollup merge of #69650 - matthiaskrgr:clnp, r=varkor
cleanup more iterator usages (and other things) * Improve weird formatting by moving comment inside else-code block. * Use .any(x) instead of .find(x).is_some() on iterators. * Use .nth(x) instead of .skip(x).next() on iterators. * Simplify conditions like x + 1 <= y to x < y * Use let instead of match to get value of enum with single variant.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
