about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-05-19 21:50:45 +0000
committerbors <bors@rust-lang.org>2021-05-19 21:50:45 +0000
commitdf70463ea5d701489d6f53dc780a2c16294d6143 (patch)
treea01a26a59164d97425941e490f60d849436c9d17 /library/std/src/sys/unix/process/process_unix.rs
parentf94942d8421dc4b1da86d07069571ddb43127235 (diff)
parent7cb4e5180f16ad83d39da9555561360add5fb22d (diff)
downloadrust-df70463ea5d701489d6f53dc780a2c16294d6143.tar.gz
rust-df70463ea5d701489d6f53dc780a2c16294d6143.zip
Auto merge of #85340 - the8472:no-inplaceiterable-on-peekable, r=yaahc
remove InPlaceIterable marker from Peekable due to unsoundness

The unsoundness is not in Peekable per se, it rather is due to the
interaction between Peekable being able to hold an extra item
and vec::IntoIter's clone implementation shortening the allocation.

An alternative solution would be to change IntoIter's clone implementation
to keep enough spare capacity available.

fixes #85322
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions