Skip to content

Commit

Permalink
chore: name elided lifetime (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjrobins authored Sep 13, 2024
1 parent 176f856 commit 206412f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jacobian/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ mod tests {
triplets: &'a [(usize, usize, M::T)],
nrows: usize,
ncols: usize,
) -> impl NonLinearOp<M = M, V = M::V, T = M::T> + '_ {
) -> impl NonLinearOp<M = M, V = M::V, T = M::T> + 'a {
let nstates = ncols;
let nout = nrows;
let f = move |x: &M::V, y: &mut M::V| {
Expand Down Expand Up @@ -201,7 +201,7 @@ mod tests {
triplets: &'a [(usize, usize, M::T)],
nrows: usize,
ncols: usize,
) -> impl LinearOp<M = M, V = M::V, T = M::T> + '_ {
) -> impl LinearOp<M = M, V = M::V, T = M::T> + 'a {
let nstates = ncols;
let nout = nrows;
let f = move |x: &M::V, y: &mut M::V| {
Expand Down

0 comments on commit 206412f

Please sign in to comment.