From: bors Date: Sun, 25 Feb 2018 12:00:24 +0000 (+0000) Subject: Auto merge of #5044 - Eh2406:PeekAtRemainingCandidates, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~2^2~84 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6cfd4e2a41c7ffd205f50268ce5ff05d1d5ed098;p=cargo.git Auto merge of #5044 - Eh2406:PeekAtRemainingCandidates, r=alexcrichton make RemainingCandidates::next peekable. `candidates.next` always came with a `candidates.clone().next(prev_active).is_ok` so let's just make that part of `next`. no `clone` needed. --- 6cfd4e2a41c7ffd205f50268ce5ff05d1d5ed098