diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index 729d404ec..63403b0bd 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -2396,11 +2396,7 @@ fn redraw( Ok(()) } -fn move_buffer_impl( - cx: &mut compositor::Context, - path: &Cow, - force: bool, -) -> anyhow::Result<()> { +fn move_buffer_impl(cx: &mut compositor::Context, path: &str, force: bool) -> anyhow::Result<()> { let doc = doc!(cx.editor); let old_path = doc .path()