Skip to content

Commit e7459ef

Browse files
committed
Remove unnecessary lifetime parameter
Rust 1.23 fixed the original issue (rust-ndarray#103) that required `'b` to be added. (See rust-lang/rust#32008, rust-lang/rust#45425, and rust-lang/rust#45435 for the relevant Rust issues/PRs.)
1 parent a62fe26 commit e7459ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/impl_ops.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl<'a, A, S, S2, D, E> $trt<&'a ArrayBase<S2, E>> for ArrayBase<S, D>
107107
/// If their shapes disagree, `rhs` is broadcast to the shape of `self`.
108108
///
109109
/// **Panics** if broadcasting isn’t possible.
110-
impl<'a, 'b, A, S, S2, D, E> $trt<&'a ArrayBase<S2, E>> for &'b ArrayBase<S, D>
110+
impl<'a, A, S, S2, D, E> $trt<&'a ArrayBase<S2, E>> for &'a ArrayBase<S, D>
111111
where A: Clone + $trt<A, Output=A>,
112112
S: Data<Elem=A>,
113113
S2: Data<Elem=A>,

0 commit comments

Comments
 (0)