Skip to content

Commit

Permalink
Remove unnecessary lifetime parameter
Browse files Browse the repository at this point in the history
Rust 1.23 fixed the original issue (rust-ndarray#103) that required `'b` to be
added. (See rust-lang/rust#32008 and rust-lang/rust#45435 for the
issue and fix in Rust.)
  • Loading branch information
jturner314 committed May 10, 2018
1 parent 6d2eb5e commit f02cded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/impl_ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl<'a, A, S, S2, D, E> $trt<&'a ArrayBase<S2, E>> for ArrayBase<S, D>
/// If their shapes disagree, `rhs` is broadcast to the shape of `self`.
///
/// **Panics** if broadcasting isn’t possible.
impl<'a, 'b, A, S, S2, D, E> $trt<&'a ArrayBase<S2, E>> for &'b ArrayBase<S, D>
impl<'a, A, S, S2, D, E> $trt<&'a ArrayBase<S2, E>> for &'a ArrayBase<S, D>
where A: Clone + $trt<A, Output=A>,
S: Data<Elem=A>,
S2: Data<Elem=A>,
Expand Down

0 comments on commit f02cded

Please sign in to comment.