Skip to content

Commit fe4b481

Browse files
committed
Add support for partialeq & debug to dim4
Very annoying doing: ```rust if arr.dims().unwrap().get().clone() == arr2.dims().unwrap().get().clone() {} ```
1 parent cda3c87 commit fe4b481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dim4.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::fmt;
22
use std::ops::Index;
33

44
/// Dim4 is used to store [Array](./struct.Array.html) dimensions
5-
#[derive(Copy, Clone)]
5+
#[derive(Copy, Clone, PartialEq, Debug)]
66
pub struct Dim4 {
77
dims: [u64; 4],
88
}

0 commit comments

Comments
 (0)