Fix clippy::needless_lifetimes
This commit is contained in:
@@ -71,7 +71,6 @@
|
|||||||
clippy::map_entry,
|
clippy::map_entry,
|
||||||
clippy::comparison_chain,
|
clippy::comparison_chain,
|
||||||
clippy::type_complexity,
|
clippy::type_complexity,
|
||||||
clippy::needless_lifetimes,
|
|
||||||
clippy::too_many_arguments,
|
clippy::too_many_arguments,
|
||||||
clippy::many_single_char_names
|
clippy::many_single_char_names
|
||||||
)]
|
)]
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ impl<T: RealNumber> DenseMatrix<T> {
|
|||||||
|
|
||||||
/// Creates new column vector (_1xN_ matrix) from a vector.
|
/// Creates new column vector (_1xN_ matrix) from a vector.
|
||||||
/// * `values` - values to initialize the matrix.
|
/// * `values` - values to initialize the matrix.
|
||||||
pub fn iter<'a>(&'a self) -> DenseMatrixIterator<'a, T> {
|
pub fn iter(&self) -> DenseMatrixIterator<'_, T> {
|
||||||
DenseMatrixIterator {
|
DenseMatrixIterator {
|
||||||
cur_c: 0,
|
cur_c: 0,
|
||||||
cur_r: 0,
|
cur_r: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user