From e1bf96f25fcc149b049facae4d30057f7dcffa6e Mon Sep 17 00:00:00 2001 From: Igor Cohanovschi Date: Sun, 10 Jul 2022 22:24:39 +0200 Subject: [PATCH] fixed compilation issue --- helix-term/src/ui/explore.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/ui/explore.rs b/helix-term/src/ui/explore.rs index 544a1667..4d255ece 100644 --- a/helix-term/src/ui/explore.rs +++ b/helix-term/src/ui/explore.rs @@ -453,7 +453,7 @@ impl Explorer { } }; if meta.is_file() { - if let Err(e) = cx.editor.open(item.path.clone(), Action::Replace) { + if let Err(e) = cx.editor.open(&item.path.clone(), Action::Replace) { cx.editor.set_error(format!("{e}")); } state.focus = false;