From 9aaf7d0c46f7535b80c1704ccc557b893292f347 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 24 Oct 2023 15:30:16 +0200 Subject: [PATCH] Checkpoint --- crates/gpui2/src/subscription.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/gpui2/src/subscription.rs b/crates/gpui2/src/subscription.rs index 2b83ccc1efb2e7c4ffee449cda2c9bd4bd151392..b835311c1224bac897c78f8a4697278fe3f07b40 100644 --- a/crates/gpui2/src/subscription.rs +++ b/crates/gpui2/src/subscription.rs @@ -21,7 +21,7 @@ struct SubscriberSetState { impl SubscriberSet where - EmitterKey: 'static + Ord + Clone + Debug, + EmitterKey: 'static + Send + Sync + Ord + Clone + Debug, Callback: 'static + Send + Sync, { pub fn new() -> Self { @@ -96,7 +96,7 @@ where #[must_use] pub struct Subscription { - unsubscribe: Option>, + unsubscribe: Option>, } impl Subscription {