From e7459ef6f6cc30d6f4e6ba4b20af2c896511746f 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, rust-lang/rust#45425, and rust-lang/rust#45435 for the relevant Rust issues/PRs.) --- 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 f5cb39559..e4823517d 100644 --- a/src/impl_ops.rs +++ b/src/impl_ops.rs @@ -107,7 +107,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,