mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-10 20:29:05 +00:00
Checkpoint
This commit is contained in:
parent
191285a8f1
commit
9aaf7d0c46
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ struct SubscriberSetState<EmitterKey, Callback> {
|
|||
|
||||
impl<EmitterKey, Callback> SubscriberSet<EmitterKey, Callback>
|
||||
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<Box<dyn FnOnce()>>,
|
||||
unsubscribe: Option<Box<dyn FnOnce() + Send + Sync + 'static>>,
|
||||
}
|
||||
|
||||
impl Subscription {
|
||||
|
|
Loading…
Reference in a new issue