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(