Fix clippy::needless_lifetimes

This commit is contained in:
Luis Moreno
2020-11-08 23:30:08 -04:00
parent 0c35adf76a
commit 3c1969bdf5
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ impl<T: RealNumber> DenseMatrix<T> {
/// Creates new column vector (_1xN_ matrix) from a vector.
/// * `values` - values to initialize the matrix.
pub fn iter<'a>(&'a self) -> DenseMatrixIterator<'a, T> {
pub fn iter(&self) -> DenseMatrixIterator<'_, T> {
DenseMatrixIterator {
cur_c: 0,
cur_r: 0,