From 65b04bb281be43ea94162316a11234bc67237fac Mon Sep 17 00:00:00 2001 From: pradeep Date: Wed, 18 Dec 2019 13:41:17 +0530 Subject: [PATCH] Fix formatting --- src/dim4.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dim4.rs b/src/dim4.rs index a01d1d4d8..dabaee460 100644 --- a/src/dim4.rs +++ b/src/dim4.rs @@ -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