mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Remove unused function
This commit is contained in:
parent
39af2bb0a4
commit
7f44083a96
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user