1.0.0-beta.1
[anymap] / src / any.rs
index 437eef29657e9a7bcc6687435139ce7c17cea408..15b535b343433fb5ce83cc97e15d2f9838406833 100644 (file)
@@ -1,5 +1,7 @@
 use core::fmt;
 use core::any::Any;
+#[cfg(not(feature = "std"))]
+use alloc::boxed::Box;
 
 #[doc(hidden)]
 pub trait CloneToAny {