From 34337896e3b210c5ee3fdd924078c271f41f0d09 Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Sat, 21 Sep 2024 12:09:48 +0200 Subject: [PATCH] all: update rustfmt --- algorithms/src/windows.rs | 5 ++++- src/utils/windows.rs | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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 }