We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4baffe4 commit 2db1a2aCopy full SHA for 2db1a2a
1 file changed
src/numeric/impl_float_maths.rs
@@ -58,7 +58,7 @@ macro_rules! binary_ops_array {
58
$($(#[$meta])*
59
#[must_use = "method returns a new array and does not mutate the original value"]
60
pub fn $fn_name<P>(&self, rhs: P) -> Array<A, D>
61
- where P: $crate::IntoNdProducer<Dim = D, Item: Borrow<$ty>> {
+ where P: $crate::IntoNdProducer<Dim = D>, <P as $crate::IntoNdProducer>::Item: Borrow<$ty> {
62
$crate::Zip::from(self).and(rhs).map_collect(|a, b| A::$fn_use(*a, *b.borrow()))
63
})+
64
};
0 commit comments