Chris Morgan
›
Git
›
anymap
› blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
commit
grep
author
committer
pickaxe
?
search:
re
no_std support
[anymap]
/
src
/
any.rs
diff --git
a/src/any.rs
b/src/any.rs
index 437eef29657e9a7bcc6687435139ce7c17cea408..15b535b343433fb5ce83cc97e15d2f9838406833 100644
(file)
--- 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 {