forked from M-Labs/nalgebra
clippy: fix redundant_field_names warnings
This commit is contained in:
parent
ffef8e7f54
commit
cf54580fac
@ -48,11 +48,11 @@ macro_rules! iterator {
|
|||||||
};
|
};
|
||||||
|
|
||||||
$Name {
|
$Name {
|
||||||
ptr: ptr,
|
ptr,
|
||||||
inner_ptr: ptr,
|
inner_ptr: ptr,
|
||||||
inner_end,
|
inner_end,
|
||||||
size: shape.0.value() * shape.1.value(),
|
size: shape.0.value() * shape.1.value(),
|
||||||
strides: strides,
|
strides,
|
||||||
_phantoms: PhantomData,
|
_phantoms: PhantomData,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -39,9 +39,9 @@ macro_rules! slice_storage_impl(
|
|||||||
CStride: Dim {
|
CStride: Dim {
|
||||||
|
|
||||||
$T {
|
$T {
|
||||||
ptr: ptr,
|
ptr,
|
||||||
shape: shape,
|
shape,
|
||||||
strides: strides,
|
strides,
|
||||||
_phantoms: PhantomData
|
_phantoms: PhantomData
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user