diff options
Diffstat (limited to 'tokio/src/signal/unix/driver.rs')
-rw-r--r-- | tokio/src/signal/unix/driver.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tokio/src/signal/unix/driver.rs b/tokio/src/signal/unix/driver.rs index d4a49783..8e5ed7d0 100644 --- a/tokio/src/signal/unix/driver.rs +++ b/tokio/src/signal/unix/driver.rs @@ -1,4 +1,4 @@ -#![cfg_attr(not(feature = "rt-core"), allow(dead_code))] +#![cfg_attr(not(feature = "rt"), allow(dead_code))] //! Signal driver @@ -175,7 +175,7 @@ impl Handle { } } -cfg_rt_core! { +cfg_rt! { impl Handle { /// Returns a handle to the current driver /// @@ -190,7 +190,7 @@ cfg_rt_core! { } } -cfg_not_rt_core! { +cfg_not_rt! { impl Handle { /// Returns a handle to the current driver /// @@ -200,7 +200,7 @@ cfg_not_rt_core! { pub(super) fn current() -> Self { panic!( "there is no signal driver running, must be called from the context of Tokio runtime or with\ - `rt-core` enabled.", + `rt` enabled.", ) } } |