X-Git-Url: https://git.chrismorgan.info/anymap/blobdiff_plain/98f2816e62c6f92863214d86f7e7584a1fb49400..fe838bbc3516b19b6f8106237dd078fd6a101029:/src/any.rs?ds=sidebyside diff --git a/src/any.rs b/src/any.rs index 437eef2..15b535b 100644 --- a/src/any.rs +++ b/src/any.rs @@ -1,5 +1,7 @@ use core::fmt; use core::any::Any; +#[cfg(not(feature = "std"))] +use alloc::boxed::Box; #[doc(hidden)] pub trait CloneToAny {