We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5398d47 commit 4baffe4Copy full SHA for 4baffe4
src/numeric/impl_float_maths.rs
@@ -2,10 +2,10 @@
2
3
#[cfg(feature = "std")]
4
use num_traits::Float;
5
+#[cfg(feature = "std")]
6
use std::borrow::Borrow;
7
8
use crate::imp_prelude::*;
-use crate::IntoNdProducer;
9
10
11
macro_rules! boolean_ops {
@@ -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: IntoNdProducer<Dim = D, Item: Borrow<$ty>> {
+ where P: $crate::IntoNdProducer<Dim = D, 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