diff --git a/src/task.rs b/src/task.rs index e9900e4..2848897 100644 --- a/src/task.rs +++ b/src/task.rs @@ -22,7 +22,7 @@ struct ScheduledTask { task: Box, } -impl std::fmt::Debug for ScheduledTask { +impl core::fmt::Debug for ScheduledTask { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_struct("ScheduledTask") .field("task", &self.task.name())