Skip to content

Commit 162fb9b

Browse files
termoshttLukeMathWalker
authored andcommitted
Require Dim::Pattern: Clone + Debug + PartialEq + Eq + Debug (#634)
1 parent eb82c93 commit 162fb9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dimension/dimension_trait.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub trait Dimension:
7272
/// - For `Ix2`: `(usize, usize)`
7373
/// - and so on..
7474
/// - For `IxDyn`: `IxDyn`
75-
type Pattern: IntoDimension<Dim = Self>;
75+
type Pattern: IntoDimension<Dim = Self> + Clone + Debug + PartialEq + Eq + Default;
7676
/// Next smaller dimension (if applicable)
7777
type Smaller: Dimension;
7878
/// Next larger dimension

0 commit comments

Comments
 (0)