Skip to content

Commit 895901e

Browse files
committed
Drop 2D
1 parent 19fba19 commit 895901e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/layout.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ impl Layout {
3636
}
3737
}
3838

39-
pub trait AllocatedArray2D {
39+
pub trait AllocatedArray {
4040
type Scalar;
4141
fn layout(&self) -> Result<Layout>;
4242
fn square_layout(&self) -> Result<Layout>;
4343
fn as_allocated(&self) -> Result<&[Self::Scalar]>;
4444
}
4545

46-
impl<A, S> AllocatedArray2D for ArrayBase<S, Ix2>
46+
impl<A, S> AllocatedArray for ArrayBase<S, Ix2>
4747
where S: Data<Elem = A>
4848
{
4949
type Scalar = A;

0 commit comments

Comments
 (0)