diff --git a/crates/gpui/src/app/callback_collection.rs b/crates/gpui/src/app/callback_collection.rs index 45479eabad..7496d71501 100644 --- a/crates/gpui/src/app/callback_collection.rs +++ b/crates/gpui/src/app/callback_collection.rs @@ -60,14 +60,6 @@ impl CallbackCollection { self.internal.lock().callbacks.is_empty() } - pub fn count(&self, key: K) -> usize { - self.internal - .lock() - .callbacks - .get(&key) - .map_or(0, |callbacks| callbacks.len()) - } - pub fn subscribe(&mut self, key: K, subscription_id: usize) -> Subscription { Subscription { key,