diff --git a/src/iter/into_abstract/or.rs b/src/iter/into_abstract/or.rs index 90f82614..de88e2ef 100644 --- a/src/iter/into_abstract/or.rs +++ b/src/iter/into_abstract/or.rs @@ -6,7 +6,7 @@ use crate::type_id::TypeId; use alloc::vec; use alloc::vec::Vec; -impl<'a: 'b, 'b, T: IntoAbstract, U: IntoAbstract> IntoAbstract for Or<(T, U)> +impl IntoAbstract for Or<(T, U)> where ::AbsView: AbstractMut, <::AbsView as AbstractMut>::Index: Into + Clone, diff --git a/src/lib.rs b/src/lib.rs index a368e4b6..4bb9fb66 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -26,6 +26,7 @@ #![warn(clippy::print_stdout)] #![warn(clippy::maybe_infinite_iter)] #![allow(clippy::uninlined_format_args)] +#![allow(clippy::needless_lifetimes)] #![cfg_attr(not(any(feature = "std", test)), no_std)] #![cfg_attr(docsrs, feature(doc_cfg))] #![warn(missing_docs)]