diff --git a/common/task/src/manager.rs b/common/task/src/manager.rs index bc35ee0f8b..f8b2f2088c 100644 --- a/common/task/src/manager.rs +++ b/common/task/src/manager.rs @@ -374,7 +374,9 @@ impl Drop for TaskClient { log::trace!("Notifying stop on unexpected drop"); // If we can't send, well then there is not much to do self.drop_error - .send(Box::new(TaskError::UnexpectedHalt(self.type_name().to_string()))) + .send(Box::new(TaskError::UnexpectedHalt( + self.type_name().to_string(), + ))) .ok(); } }