1
Fork 0

unstabilize FusedIterator for Flatten since Flatten is unstable

This commit is contained in:
Mazdak Farrokhzad 2018-03-15 18:04:45 +01:00
parent ff2d506c2c
commit 6fbdaf4209

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> {}