Revert "feat: Manual impl of PartialEq for Coroutine" (#2899)

* Revert "feat: Manual impl of PartialEq for `Coroutine` (#2895)"

This reverts commit e6efd973d8.

* Update use_coroutine.rs

* Update use_coroutine.rs

* Update use_coroutine.rs
This commit is contained in:
Marc Espin 2024-08-28 18:09:31 +02:00 committed by GitHub
parent e552251683
commit 91112734f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
} }
} }