Skip to content

Commit fb49ae0

Browse files
committed
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.
2 parents a199fb2 + 6fbdaf4 commit fb49ae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iter/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2605,7 +2605,7 @@ impl<I, U> DoubleEndedIterator for Flatten<I>
26052605
}
26062606
}
26072607

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

0 commit comments

Comments
 (0)