about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorThe8472 <git@infinite-source.de>2021-05-15 20:08:09 +0200
committerThe8472 <git@infinite-source.de>2021-05-19 01:41:09 +0200
commit60a900ee10c70ea90927c1192ec6683f26f496de (patch)
tree181874762c8c73285900a39bea3d953e43ffbaa2 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent4e3e6db011c5b482d2bef8ba02274657f93b5e0d (diff)
downloadrust-60a900ee10c70ea90927c1192ec6683f26f496de.tar.gz
rust-60a900ee10c70ea90927c1192ec6683f26f496de.zip
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.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions