Skip to content

Commit d575848

Browse files
committed
Re-adds the Dimension bound to ToOwned
1 parent b9ee564 commit d575848

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/impl_ref_types.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,9 @@ where
322322
}
323323

324324
impl<A, D> ToOwned for ArrayRef<A, D>
325-
where A: Clone
325+
where
326+
A: Clone,
327+
D: Dimension,
326328
{
327329
type Owned = Array<A, D>;
328330

0 commit comments

Comments
 (0)