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() } }