about summary refs log tree commit diff
path: root/src/test/ui/async-await/async-block-control-flow-static-semantics.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-08-20 16:26:38 +0200
committerGitHub <noreply@github.com>2019-08-20 16:26:38 +0200
commitff352cd65a0377dd8679e4ee8044298cc018be55 (patch)
treed73d116b7466342fba81c9b1136384a89fe7d3e0 /src/test/ui/async-await/async-block-control-flow-static-semantics.rs
parent60649e3a2efe34f8221e53e6cc0233d2dbd147ab (diff)
parentec54340756f325324f4b710105a708da1cf26564 (diff)
downloadrust-ff352cd65a0377dd8679e4ee8044298cc018be55.tar.gz
rust-ff352cd65a0377dd8679e4ee8044298cc018be55.zip
Rollup merge of #63691 - timvermeulen:chain-size-hint, r=scottmcm
Fix bug in iter::Chain::size_hint

`Chain::size_hint` currently ignores `self.state`, which means that the size hints of the underlying iterators are always combined regardless of the iteration state. This, of course, should only happen when the state is `ChainState::Both`.
Diffstat (limited to 'src/test/ui/async-await/async-block-control-flow-static-semantics.rs')
0 files changed, 0 insertions, 0 deletions