We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f8395c + f52f266 commit 25cf334Copy full SHA for 25cf334
src/dimension/dimension_trait.rs
@@ -75,7 +75,7 @@ pub trait Dimension:
75
/// Next smaller dimension (if applicable)
76
type Smaller: Dimension;
77
/// Next larger dimension
78
- type Larger: Dimension;
+ type Larger: Dimension + RemoveAxis;
79
80
/// Returns the number of dimensions (number of axes).
81
fn ndim(&self) -> usize;
0 commit comments