-#[cfg_attr(feature = "clone", derive(Clone))]
-pub struct RawAnyMap {
- #[cfg(feature = "nightly")]
- inner: HashMap<TypeId, Box<Any>, TypeIdState>,
+pub struct RawMap<A: ?Sized + UncheckedAnyExt = Any> {
+ #[cfg(feature = "unstable")]
+ inner: HashMap<TypeId, Box<A>, TypeIdState>,
+
+ #[cfg(not(feature = "unstable"))]
+ inner: HashMap<TypeId, Box<A>>,
+}