clippy: fix redundant_field_names warnings
This commit is contained in:
parent
ffef8e7f54
commit
cf54580fac
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,9 +39,9 @@ macro_rules! slice_storage_impl(
|
|||
CStride: Dim {
|
||||
|
||||
$T {
|
||||
ptr: ptr,
|
||||
shape: shape,
|
||||
strides: strides,
|
||||
ptr,
|
||||
shape,
|
||||
strides,
|
||||
_phantoms: PhantomData
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue