Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
9prady9 committed Dec 18, 2019
1 parent aa6d10d commit 65b04bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dim4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ impl Dim4 {
/// let dims = Dim4::new(&[4, 4, 2, 1]);
/// ```
pub fn new(dims: &[u64; 4]) -> Self {
Self { dims: [ dims[0], dims[1], dims[2], dims[3] ] }
Self {
dims: [dims[0], dims[1], dims[2], dims[3]],
}
}

/// Get the number of elements represented by Dim4 object
Expand Down

0 comments on commit 65b04bb

Please sign in to comment.