diff --git a/src/base/iter.rs b/src/base/iter.rs index 304bfa93..2823b39e 100644 --- a/src/base/iter.rs +++ b/src/base/iter.rs @@ -48,11 +48,11 @@ macro_rules! iterator { }; $Name { - ptr: ptr, + ptr, inner_ptr: ptr, inner_end, size: shape.0.value() * shape.1.value(), - strides: strides, + strides, _phantoms: PhantomData, } } diff --git a/src/base/matrix_slice.rs b/src/base/matrix_slice.rs index 21bcc349..ac1fbfd6 100644 --- a/src/base/matrix_slice.rs +++ b/src/base/matrix_slice.rs @@ -39,9 +39,9 @@ macro_rules! slice_storage_impl( CStride: Dim { $T { - ptr: ptr, - shape: shape, - strides: strides, + ptr, + shape, + strides, _phantoms: PhantomData } }