diff --git a/src/raw.rs b/src/raw.rs index ed3ee97..a45635e 100644 --- a/src/raw.rs +++ b/src/raw.rs @@ -83,13 +83,7 @@ impl Copy for RawTask {} impl Clone for RawTask { fn clone(&self) -> Self { - Self { - header: self.header, - schedule: self.schedule, - tag: self.tag, - future: self.future, - output: self.output, - } + *self } }