diff options
| author | bors <bors@rust-lang.org> | 2021-04-26 14:28:31 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-04-26 14:28:31 +0000 |
| commit | 1bb3b12dfb6f7f100acec3a318bf7e5011d400a4 (patch) | |
| tree | a58d17dd559f076cb228b34e3c959831c8160b4b /library/std/src/sys/unix/stack_overflow.rs | |
| parent | c4e2d3691bc8374d8749fc4b8e2fd5774df950f6 (diff) | |
| parent | efc4c6c957ea2b0d870f4728fa934042213da5e8 (diff) | |
| download | rust-1bb3b12dfb6f7f100acec3a318bf7e5011d400a4.tar.gz rust-1bb3b12dfb6f7f100acec3a318bf7e5011d400a4.zip | |
Auto merge of #7132 - rust-lang:single_element_loop_iter, r=Manishearth
extend `single_element_loop` to match `.iter()` This extends `single_element_loop` to also match `[..].iter()` in the loop argument. Related to #7125, but not completely fixing it due to the lint only firing if the array expression contains a local variable. --- changelog: none
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
