about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-26 14:28:31 +0000
committerbors <bors@rust-lang.org>2021-04-26 14:28:31 +0000
commit1bb3b12dfb6f7f100acec3a318bf7e5011d400a4 (patch)
treea58d17dd559f076cb228b34e3c959831c8160b4b /library/std/src/sys/unix/stack_overflow.rs
parentc4e2d3691bc8374d8749fc4b8e2fd5774df950f6 (diff)
parentefc4c6c957ea2b0d870f4728fa934042213da5e8 (diff)
downloadrust-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