Skip to content

Commit

Permalink
Require Dim::Pattern: Clone + Debug + PartialEq + Eq + Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
termoshtt committed May 12, 2019
1 parent eb82c93 commit 4a37172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dimension/dimension_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub trait Dimension:
/// - For `Ix2`: `(usize, usize)`
/// - and so on..
/// - For `IxDyn`: `IxDyn`
type Pattern: IntoDimension<Dim = Self>;
type Pattern: IntoDimension<Dim = Self> + Clone + Debug + PartialEq + Eq + Default;
/// Next smaller dimension (if applicable)
type Smaller: Dimension;
/// Next larger dimension
Expand Down

0 comments on commit 4a37172

Please sign in to comment.