From 76bc230a309405d082d8da352d620d23a091318d Mon Sep 17 00:00:00 2001 From: Owen Brooks Date: Fri, 17 Jun 2022 18:25:50 +1000 Subject: [PATCH] Fix formatting --- src/base/array_storage.rs | 4 ++-- src/geometry/quaternion.rs | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/base/array_storage.rs b/src/base/array_storage.rs index bbcf69c9..53f8efbe 100644 --- a/src/base/array_storage.rs +++ b/src/base/array_storage.rs @@ -9,9 +9,9 @@ use serde::ser::SerializeSeq; #[cfg(feature = "serde-serialize-no-std")] use serde::{Deserialize, Deserializer, Serialize, Serializer}; #[cfg(feature = "serde-serialize-no-std")] -use std::marker::PhantomData; -#[cfg(feature = "serde-serialize-no-std")] use std::fmt::{self, Formatter}; +#[cfg(feature = "serde-serialize-no-std")] +use std::marker::PhantomData; use crate::base::allocator::Allocator; use crate::base::default_allocator::DefaultAllocator; diff --git a/src/geometry/quaternion.rs b/src/geometry/quaternion.rs index 03a1312a..0898cfc2 100755 --- a/src/geometry/quaternion.rs +++ b/src/geometry/quaternion.rs @@ -36,10 +36,7 @@ pub struct Quaternion { impl fmt::Debug for Quaternion { fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> { - formatter - .debug_list() - .entries(self.coords.iter()) - .finish() + formatter.debug_list().entries(self.coords.iter()).finish() } }