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:
authorJosh Stone <jistone@redhat.com>2020-04-21 14:56:59 -0700
committerJosh Stone <jistone@redhat.com>2020-04-21 14:56:59 -0700
commiteeb687f20e86f2e2cf61ef89139c102cb92abfcb (patch)
treee2a60e667c3e5f0633089e719552f5628f8c1f45 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent45d050cde277b22a755847338f2acc2c7b834141 (diff)
downloadrust-eeb687f20e86f2e2cf61ef89139c102cb92abfcb.tar.gz
rust-eeb687f20e86f2e2cf61ef89139c102cb92abfcb.zip
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.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions