Skip to content

Commit 3c1969b

Browse files
committed
Fix clippy::needless_lifetimes
1 parent 0c35adf commit 3c1969b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@
7171
clippy::map_entry,
7272
clippy::comparison_chain,
7373
clippy::type_complexity,
74-
clippy::needless_lifetimes,
7574
clippy::too_many_arguments,
7675
clippy::many_single_char_names
7776
)]

src/linalg/naive/dense_matrix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ impl<T: RealNumber> DenseMatrix<T> {
305305

306306
/// Creates new column vector (_1xN_ matrix) from a vector.
307307
/// * `values` - values to initialize the matrix.
308-
pub fn iter<'a>(&'a self) -> DenseMatrixIterator<'a, T> {
308+
pub fn iter(&self) -> DenseMatrixIterator<'_, T> {
309309
DenseMatrixIterator {
310310
cur_c: 0,
311311
cur_r: 0,

0 commit comments

Comments
 (0)