From 2aee5f02d0c32dd72cde2b28f2f2dbe17bafce46 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Sun, 22 Aug 2021 09:52:37 +0300 Subject: [PATCH] Style --- helix-term/src/application.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 85ea59c75..c9be81e28 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -296,7 +296,7 @@ pub async fn handle_debugger_message(&mut self, payload: helix_dap::Payload) { .. }) = &debugger.stack_pointer { - let path = src.clone().into(); + let path = src.clone(); self.editor .open(path, helix_view::editor::Action::Replace) .unwrap(); @@ -327,7 +327,6 @@ pub async fn handle_debugger_message(&mut self, payload: helix_dap::Payload) { Payload::Response(_) => unreachable!(), Payload::Request(_) => todo!(), } - // TODO } pub async fn handle_language_server_message(