From bdc7b692665212894998daca2879303fac57baee Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Thu, 2 Jul 2020 22:16:09 +0800 Subject: [PATCH] Remove feature gate for Instant. --- src/any.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/any.rs b/src/any.rs index 7e8b8072..6a14cb4e 100644 --- a/src/any.rs +++ b/src/any.rs @@ -196,7 +196,6 @@ impl Dynamic { Union::FnPtr(_) => "Fn", #[cfg(not(feature = "no_std"))] - #[cfg(not(target_arch = "wasm32"))] Union::Variant(value) if value.is::() => "timestamp", Union::Variant(value) => (***value).type_name(), } @@ -220,7 +219,6 @@ impl fmt::Display for Dynamic { Union::FnPtr(value) => fmt::Display::fmt(value, f), #[cfg(not(feature = "no_std"))] - #[cfg(not(target_arch = "wasm32"))] Union::Variant(value) if value.is::() => write!(f, ""), Union::Variant(_) => write!(f, "?"), } @@ -244,7 +242,6 @@ impl fmt::Debug for Dynamic { Union::FnPtr(value) => fmt::Display::fmt(value, f), #[cfg(not(feature = "no_std"))] - #[cfg(not(target_arch = "wasm32"))] Union::Variant(value) if value.is::() => write!(f, ""), Union::Variant(_) => write!(f, ""), }