aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-rtcompat/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/tor-rtcompat/src')
-rw-r--r--crates/tor-rtcompat/src/scheduler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/tor-rtcompat/src/scheduler.rs b/crates/tor-rtcompat/src/scheduler.rs
index a290e9ff6..66660769c 100644
--- a/crates/tor-rtcompat/src/scheduler.rs
+++ b/crates/tor-rtcompat/src/scheduler.rs
@@ -71,7 +71,7 @@ pub struct TaskSchedule<R: SleepProvider> {
///
/// When the final handle is dropped, the computation governed by the
/// `TaskSchedule` should terminate.
-#[derive(Clone)]
+#[derive(Clone, Debug)]
pub struct TaskHandle {
/// Sender of scheduler commands to the corresponding schedule.
tx: UnboundedSender<SchedulerCommand>,