Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove unused function

Conrad Irwin7f44083a969a
diff --git a/crates/client/src/client.rs b/crates/client/src/client.rs
index 4ddfbc5a347..5eae700404c 100644
--- a/crates/client/src/client.rs
+++ b/crates/client/src/client.rs
@@ -453,10 +453,6 @@ impl Client {
self.state.read().status.1.clone()
}
- pub fn is_connected(&self) -> bool {
- matches!(&*self.status().borrow(), Status::Connected { .. })
- }
-
fn set_status(self: &Arc<Self>, status: Status, cx: &AsyncAppContext) {
log::info!("set status on client {}: {:?}", self.id, status);
let mut state = self.state.write();