all: use expect attribute where possible
This commit is contained in:
parent
c3b50dc653
commit
e377470f3f
134 changed files with 241 additions and 296 deletions
|
|
@ -1,13 +1,12 @@
|
|||
use crate::utils::ptr_ext::PtrExt;
|
||||
|
||||
#[cfg_attr(not(feature = "it"), allow(dead_code))]
|
||||
pub trait WindowsExt<T> {
|
||||
type Windows<'a, const N: usize>: Iterator<Item = &'a [T; N]>
|
||||
where
|
||||
Self: 'a,
|
||||
T: 'a;
|
||||
|
||||
#[cfg_attr(not(feature = "rc_tracking"), allow(dead_code))]
|
||||
#[cfg_attr(not(feature = "rc_tracking"), expect(dead_code))]
|
||||
fn array_windows_ext<'a, const N: usize>(&'a self) -> Self::Windows<'a, N>;
|
||||
fn array_chunks_ext<'a, const N: usize>(&'a self) -> &'a [[T; N]];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue