impl FusedIterator for ArrayWindows

This commit is contained in:
Josh Stone
2026-01-24 11:10:40 -08:00
parent 90521553e6
commit 08cd2ac33d
+3
View File
@@ -2260,6 +2260,9 @@ fn is_empty(&self) -> bool {
}
}
#[stable(feature = "array_windows", since = "1.94.0")]
impl<T, const N: usize> FusedIterator for ArrayWindows<'_, T, N> {}
/// An iterator over a slice in (non-overlapping) chunks (`chunk_size` elements at a
/// time), starting at the end of the slice.
///