diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-07-01 15:15:19 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-07-01 15:43:24 +0200 |
commit | bddfe9a4684cf6ffa68fb283a222ce14242553c8 (patch) | |
tree | 03b9517e6b6b649b90c0ab877e3e3d8765365408 /components/script/task.rs | |
parent | d1efad676301798756c36990de8aa2784dab91db (diff) | |
download | servo-bddfe9a4684cf6ffa68fb283a222ce14242553c8.tar.gz servo-bddfe9a4684cf6ffa68fb283a222ce14242553c8.zip |
Remove `default-except-unstable`
… and use remaining unstable features unconditionally.
This doesn’t actually change the set of crates that can build on the Stable channel.
Diffstat (limited to 'components/script/task.rs')
-rw-r--r-- | components/script/task.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/components/script/task.rs b/components/script/task.rs index c8b4b438deb..61f9bf436dd 100644 --- a/components/script/task.rs +++ b/components/script/task.rs @@ -32,14 +32,7 @@ macro_rules! task { pub trait TaskOnce: Send { #[allow(unsafe_code)] fn name(&self) -> &'static str { - #[cfg(feature = "unstable")] - unsafe { - ::std::intrinsics::type_name::<Self>() - } - #[cfg(not(feature = "unstable"))] - { - "(task name unknown)" - } + unsafe { ::std::intrinsics::type_name::<Self>() } } fn run_once(self); |