summaryrefslogtreecommitdiffstats
path: root/tokio/src/util/trace.rs
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2020-10-13 06:13:23 +0900
committerGitHub <noreply@github.com>2020-10-12 14:13:23 -0700
commitc90681bd8e629b5fde988b9f5be7b915e5cf8ae5 (patch)
treee70838b9437123dc986ebcfeb8fc0c44ca3fe667 /tokio/src/util/trace.rs
parent24d0a0cfa8916eaef17f40f044d978aa3904d654 (diff)
rt: simplify rt-* features (#2949)
tokio: merge rt-core and rt-util as rt rename rt-threaded to rt-multi-thread tokio-util: rename rt-core to rt Closes #2942
Diffstat (limited to 'tokio/src/util/trace.rs')
-rw-r--r--tokio/src/util/trace.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/util/trace.rs b/tokio/src/util/trace.rs
index adec5502..18956a36 100644
--- a/tokio/src/util/trace.rs
+++ b/tokio/src/util/trace.rs
@@ -1,5 +1,5 @@
cfg_trace! {
- cfg_task! {
+ cfg_rt! {
use std::future::Future;
use std::pin::Pin;
use std::task::{Context, Poll};
@@ -47,7 +47,7 @@ cfg_trace! {
}
cfg_not_trace! {
- cfg_task! {
+ cfg_rt! {
#[inline]
pub(crate) fn task<F>(task: F, _: &'static str) -> F {
// nop