|
@@ -150,7 +150,7 @@ impl<T> Clone for Coroutine<T> {
|
|
}
|
|
}
|
|
|
|
|
|
impl<T> PartialEq for Coroutine<T> {
|
|
impl<T> PartialEq for Coroutine<T> {
|
|
- fn clone(&self) -> Self {
|
|
|
|
|
|
+ fn eq(&self, other: &Self) -> bool {
|
|
self.needs_regen == other.needs_regen && self.tx == other.tx && self.task == other.task
|
|
self.needs_regen == other.needs_regen && self.tx == other.tx && self.task == other.task
|
|
}
|
|
}
|
|
}
|
|
}
|