diff --git a/algorithms/src/windows.rs b/algorithms/src/windows.rs index 8332ec66..f71fe807 100644 --- a/algorithms/src/windows.rs +++ b/algorithms/src/windows.rs @@ -8,7 +8,10 @@ pub trait WindowsExt { } impl WindowsExt for [T] { - type Windows<'a, const N: usize> = WindowsIter<'a, T, N> where T: 'a; + type Windows<'a, const N: usize> + = WindowsIter<'a, T, N> + where + T: 'a; fn array_windows_ext<'a, const N: usize>(&'a self) -> Self::Windows<'a, N> { WindowsIter { slice: self } diff --git a/src/utils/windows.rs b/src/utils/windows.rs index 8f225cfb..123a6dcd 100644 --- a/src/utils/windows.rs +++ b/src/utils/windows.rs @@ -12,7 +12,10 @@ pub trait WindowsExt { } impl WindowsExt for [T] { - type Windows<'a, const N: usize> = WindowsIter<'a, T, N> where T: 'a; + type Windows<'a, const N: usize> + = WindowsIter<'a, T, N> + where + T: 'a; fn array_windows_ext<'a, const N: usize>(&'a self) -> Self::Windows<'a, N> { WindowsIter { slice: self }