From f02cded0dbe4368da862670a54cccca3b9fa2513 Mon Sep 17 00:00:00 2001 From: Jim Turner Date: Wed, 22 Nov 2017 23:09:54 -0500 Subject: [PATCH] Remove unnecessary lifetime parameter Rust 1.23 fixed the original issue (#103) that required `'b` to be added. (See rust-lang/rust#32008 and rust-lang/rust#45435 for the issue and fix in Rust.) --- src/impl_ops.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/impl_ops.rs b/src/impl_ops.rs index 362a0e05a..4387587f2 100644 --- a/src/impl_ops.rs +++ b/src/impl_ops.rs @@ -105,7 +105,7 @@ impl<'a, A, S, S2, D, E> $trt<&'a ArrayBase> for ArrayBase /// 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> for &'b ArrayBase +impl<'a, A, S, S2, D, E> $trt<&'a ArrayBase> for &'a ArrayBase where A: Clone + $trt, S: Data, S2: Data,