A number of small updates batched into one commit

This commit is contained in:
Nadja Reitzenstein
2022-06-23 13:33:29 +02:00
parent 9a86bae45a
commit 567df800f3
5 changed files with 9 additions and 5 deletions

View File

@ -256,7 +256,7 @@ where
self.spawn_callsites.insert(metadata);
&self.shared.dropped_tasks
}
(_, WakerVisitor::WAKE_TARGET) => {
(_, WakerVisitor::WAKER_EVENT_TARGET) => {
self.waker_callsites.insert(metadata);
&self.shared.dropped_tasks
}
@ -419,6 +419,7 @@ where
}
}
}
} else if self.poll_op_callsites.contains(metadata) {
}
}

View File

@ -369,7 +369,7 @@ impl Visit for AsyncOpVisitor {
}
impl WakerVisitor {
pub(crate) const WAKE_TARGET: &'static str = "executor::waker";
pub(crate) const WAKER_EVENT_TARGET: &'static str = "executor::waker";
const WAKE: &'static str = "waker.wake";
const WAKE_BY_REF: &'static str = "waker.wake_by_ref";