You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Inconsistency in IteratorExt::all and ::any #22617
Activity
huonw commentedon Feb 21, 2015
cc @aturon
oli-obk commentedon Feb 23, 2015
isn't this because
allconsumes the iterator completely andanyonly up to the first occurrence?Aatch commentedon Feb 24, 2015
@oli-obk both iterators behave the same way,
allstops at the firstfalsevalue,anystops at the firsttruevalue.aturon commentedon Feb 24, 2015
Thanks for the report, @Aatch. This was a mistake, and both should take
&mut selfprecisely to clarify the consumption semantics.This should be a trivial fix.
aturon commentedon Feb 24, 2015
(Should be flagged 1.0-beta P-backcompat-libs)
pnkfelix commentedon Feb 26, 2015
1.0 beta, P-backcompat-libs.
Merge pull request rust-lang#22617 from ada4a/push-mtxzotmzskkx