1
0
Fork 0
forked from wry/wry

all: update rustfmt

This commit is contained in:
Julian Orth 2024-09-21 12:09:48 +02:00
parent b861af9675
commit 34337896e3
2 changed files with 8 additions and 2 deletions

View file

@ -8,7 +8,10 @@ pub trait WindowsExt<T> {
}
impl<T> WindowsExt<T> 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 }