From 277d86bd29a9f977bf3ad8da4e22a4060b868374 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 21 Feb 2022 17:31:43 +0100 Subject: [PATCH] Remove unused method --- crates/lsp/src/lsp.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/crates/lsp/src/lsp.rs b/crates/lsp/src/lsp.rs index b05befedf847215238f5b578028ce6967a956e27..93df14f89dd9b08c849b074d6ddbd00f068de5b0 100644 --- a/crates/lsp/src/lsp.rs +++ b/crates/lsp/src/lsp.rs @@ -768,19 +768,6 @@ mod tests { fake.receive_notification::().await; } - impl LanguageServer { - async fn next_idle_notification(self: &Arc) { - let (tx, rx) = channel::unbounded(); - let _subscription = - self.on_notification::(move |params| { - if params.quiescent { - tx.try_send(()).unwrap(); - } - }); - let _ = rx.recv().await; - } - } - pub enum ServerStatusNotification {} impl notification::Notification for ServerStatusNotification {