Skip to content

Commit 0dedc3e

Browse files
committed
Re-fixes the covariant arrayview with the new reference structure
1 parent 6fd61c1 commit 0dedc3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ where S: RawData<Elem = A>
12981298
/// buffer; if borrowed, contains the lifetime and mutability.)
12991299
data: S,
13001300
/// The dimension, strides, and pointer to inside of `data`
1301-
layout: LayoutRef<S::Elem, D>,
1301+
layout: LayoutRef<A, D>,
13021302
}
13031303

13041304
/// A reference to the layout of an *n*-dimensional array.

0 commit comments

Comments
 (0)