From 677f35514396392912f0d00e5cdb3a053e55ead2 Mon Sep 17 00:00:00 2001 From: sebcrozet Date: Sun, 5 Apr 2020 22:49:33 +0200 Subject: [PATCH] Run rustfmt. --- src/base/conversion.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/conversion.rs b/src/base/conversion.rs index ee9efef6..8a856325 100644 --- a/src/base/conversion.rs +++ b/src/base/conversion.rs @@ -196,7 +196,7 @@ macro_rules! impl_from_into_asref_2D( let mut res = mem::MaybeUninit::<[[N; $SZRows]; $SZCols]>::uninit(); unsafe { ptr::copy_nonoverlapping(self.data.ptr(), res.as_mut_ptr() as *mut N, $SZRows * $SZCols) }; - + unsafe { res.assume_init() } } }