Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove unused CallbackCollection method
Max Brunsfeldb762d70202ff
diff --git a/crates/gpui/src/app/callback_collection.rs b/crates/gpui/src/app/callback_collection.rsindex 45479eabade..7496d715014 100644--- a/crates/gpui/src/app/callback_collection.rs+++ b/crates/gpui/src/app/callback_collection.rs@@ -60,14 +60,6 @@ impl<K: Clone + Hash + Eq + Copy, F> CallbackCollection<K, F> {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<K, F> {Subscription {key,