fix(cmds): replace &Cow<str> with &str;

pull/11093/head
5-pebbles 5 months ago
parent c5bfef7f9a
commit 8f8df32b9d

@ -2396,11 +2396,7 @@ fn redraw(
Ok(())
}
fn move_buffer_impl(
cx: &mut compositor::Context,
path: &Cow<str>,
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()

Loading…
Cancel
Save