From dd6b674e7ee3cc11346d1756348f8051f6e09d3a Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Mon, 17 Jul 2023 13:08:41 +0200 Subject: [PATCH] Remove dbg calls --- crates/language/src/language.rs | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/crates/language/src/language.rs b/crates/language/src/language.rs index 08a377d280..f8e25fbce1 100644 --- a/crates/language/src/language.rs +++ b/crates/language/src/language.rs @@ -262,27 +262,22 @@ pub trait LspAdapter: 'static + Send + Sync { container_dir: PathBuf, ) -> Option; - async fn process_diagnostics(&self, d: &mut lsp::PublishDiagnosticsParams) { - dbg!(d); - } + async fn process_diagnostics(&self, _: &mut lsp::PublishDiagnosticsParams) {} - async fn process_completion(&self, d: &mut lsp::CompletionItem) { - dbg!(d); - } + async fn process_completion(&self, _: &mut lsp::CompletionItem) {} async fn label_for_completion( &self, - item: &lsp::CompletionItem, + _: &lsp::CompletionItem, _: &Arc, ) -> Option { - dbg!(item); None } async fn label_for_symbol( &self, - name: &str, - kind: lsp::SymbolKind, + _: &str, + _: lsp::SymbolKind, _: &Arc, ) -> Option { None