mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
impl FusedIterator for ArrayWindows
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user