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 7776bfc commit ab79d28Copy full SHA for ab79d28
src/slice.rs
@@ -383,7 +383,7 @@ unsafe impl CanSlice<IxDyn> for [AxisSliceInfo] {
383
///
384
/// [`.slice()`]: struct.ArrayBase.html#method.slice
385
#[derive(Debug)]
386
-#[repr(C)]
+#[repr(transparent)]
387
pub struct SliceInfo<T: ?Sized, Din: Dimension, Dout: Dimension> {
388
in_dim: PhantomData<Din>,
389
out_dim: PhantomData<Dout>,
0 commit comments