all: update rustfmt
This commit is contained in:
parent
b861af9675
commit
34337896e3
2 changed files with 8 additions and 2 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
|
|
@ -12,7 +12,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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue