diff --git a/src/base/array_storage.rs b/src/base/array_storage.rs index ae7a2e3b..bbcf69c9 100644 --- a/src/base/array_storage.rs +++ b/src/base/array_storage.rs @@ -10,6 +10,8 @@ use serde::ser::SerializeSeq; 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}; use crate::base::allocator::Allocator; use crate::base::default_allocator::DefaultAllocator;