X-Git-Url: https://git.chrismorgan.info/anymap/blobdiff_plain/98f2816e62c6f92863214d86f7e7584a1fb49400..c166d5c1497f7ce59b50dff55b97f096ca2ae3e7:/src/any.rs 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 {