Rollup merge of #49049 - Centril:fix/flatten-fusediterator, r=bluss

Unstabilize FusedIterator for Flatten since Flatten is unstable

PR #47463 made `impl<I, U> FusedIterator for Flatten<I>` stable but shouldn't have since `Flatten` is still unstable. This PR makes the impl unstable again.
This commit is contained in:
kennytm 2018-03-16 05:38:29 +08:00
commit fb49ae0260
No known key found for this signature in database
GPG Key ID: FEF6C8051D0E013C

View File

@ -2605,7 +2605,7 @@ impl<I, U> DoubleEndedIterator for Flatten<I>
}
}
#[stable(feature = "fused", since = "1.26.0")]
#[unstable(feature = "iterator_flatten", issue = "48213")]
impl<I, U> FusedIterator for Flatten<I>
where I: FusedIterator, U: Iterator,
I::Item: IntoIterator<IntoIter = U, Item = U::Item> {}