all: remove dead code
This commit is contained in:
parent
a20008d446
commit
8cee61122e
32 changed files with 9 additions and 145 deletions
|
|
@ -205,6 +205,7 @@ impl Display for OsError {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg_attr(not(feature = "it"), allow(dead_code))]
|
||||
pub trait OsErrorExt {
|
||||
type Container;
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ pub trait Try: Sized {
|
|||
where
|
||||
F: FnOnce() -> Result<(), Self>;
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn tria<F>(f: F) -> Tria<Self, F>
|
||||
where
|
||||
F: Future<Output = Result<(), Self>>;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
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))]
|
||||
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