clippy: Remove unused lifetimes.

This commit is contained in:
Bruce Mitchener 2023-08-14 09:21:56 +07:00
parent 706caf52c3
commit a51886ed3f
1 changed files with 2 additions and 2 deletions

View File

@ -473,7 +473,7 @@ where
} }
#[cfg(any(feature = "std", feature = "alloc"))] #[cfg(any(feature = "std", feature = "alloc"))]
impl<'a, T: Scalar> From<Vec<T>> for DVector<T> { impl<T: Scalar> From<Vec<T>> for DVector<T> {
#[inline] #[inline]
fn from(vec: Vec<T>) -> Self { fn from(vec: Vec<T>) -> Self {
Self::from_vec(vec) Self::from_vec(vec)
@ -481,7 +481,7 @@ impl<'a, T: Scalar> From<Vec<T>> for DVector<T> {
} }
#[cfg(any(feature = "std", feature = "alloc"))] #[cfg(any(feature = "std", feature = "alloc"))]
impl<'a, T: Scalar> From<Vec<T>> for RowDVector<T> { impl<T: Scalar> From<Vec<T>> for RowDVector<T> {
#[inline] #[inline]
fn from(vec: Vec<T>) -> Self { fn from(vec: Vec<T>) -> Self {
Self::from_vec(vec) Self::from_vec(vec)