From 425d487de95d1bf92a72f72fd8ea5e9f5b02160a Mon Sep 17 00:00:00 2001 From: Daniel Rainer Date: Mon, 28 Jul 2025 00:43:23 +0200 Subject: [PATCH] Remove redundant clones --- src/env/config_paths.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env/config_paths.rs b/src/env/config_paths.rs index 0d1cf0de9..60ff43716 100644 --- a/src/env/config_paths.rs +++ b/src/env/config_paths.rs @@ -64,7 +64,7 @@ // If we picked ~/.local/share/fish as our data path, // we would install there and erase history. // So let's isolate us a bit more. - data: Some(data_dir.clone()), + data: Some(data_dir), sysconf: base_path.join("etc/fish"), doc: base_path.join("share/doc/fish"), bin: Some(base_path.join("bin")),