about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-23 20:34:59 +0200
committerGitHub <noreply@github.com>2020-04-23 20:34:59 +0200
commit2a1cd440f2264d0ca33393d2f71f5d851b5c3aa6 (patch)
tree9cc0c24c5587b3da63cbe72ffa0d47b2a833514f /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent1d3d80f773bcc6d2598b4c6cb39ba06a8c325103 (diff)
parenteeb687f20e86f2e2cf61ef89139c102cb92abfcb (diff)
downloadrust-2a1cd440f2264d0ca33393d2f71f5d851b5c3aa6.tar.gz
rust-2a1cd440f2264d0ca33393d2f71f5d851b5c3aa6.zip
Rollup merge of #71404 - cuviper:chain-unfused, r=scottmcm
Don't fuse Chain in its second iterator

Only the "first" iterator is actually set `None` when exhausted,
depending on whether you iterate forward or backward. This restores
behavior similar to the former `ChainState`, where it would transition
from `Both` to `Front`/`Back` and only continue from that side.

However, if you mix directions, then this may still set both sides to
`None`, totally fusing the iterator.

Fixes #71375
r? @scottmcm
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions