diff --git a/src/zip/mod.rs b/src/zip/mod.rs index 18d07ddfd..4862e8470 100644 --- a/src/zip/mod.rs +++ b/src/zip/mod.rs @@ -671,6 +671,7 @@ macro_rules! map_impl { /// Include the producer `p` in the Zip. /// /// ***Panics*** if `p`’s shape doesn’t match the Zip’s exactly. + #[inline] pub fn and

(self, p: P) -> Zip<($($p,)* P::Output, ), D> where P: IntoNdProducer, { @@ -686,6 +687,7 @@ macro_rules! map_impl { /// The caller must ensure that the producer's shape is equal to the Zip's shape. /// Uses assertions when debug assertions are enabled. #[allow(unused)] + #[inline] pub(crate) unsafe fn and_unchecked

(self, p: P) -> Zip<($($p,)* P::Output, ), D> where P: IntoNdProducer, { @@ -713,6 +715,7 @@ macro_rules! map_impl { self.build_and(part) } + #[inline] fn build_and

(self, part: P) -> Zip<($($p,)* P, ), D> where P: NdProducer, {