Skip to content

Commit 65b04bb

Browse files
committed
Fix formatting
1 parent aa6d10d commit 65b04bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/dim4.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ impl Dim4 {
6565
/// let dims = Dim4::new(&[4, 4, 2, 1]);
6666
/// ```
6767
pub fn new(dims: &[u64; 4]) -> Self {
68-
Self { dims: [ dims[0], dims[1], dims[2], dims[3] ] }
68+
Self {
69+
dims: [dims[0], dims[1], dims[2], dims[3]],
70+
}
6971
}
7072

7173
/// Get the number of elements represented by Dim4 object

0 commit comments

Comments
 (0)