From 59390f19f9ac8102a6e86be1be9f0c2bf17b8efe Mon Sep 17 00:00:00 2001 From: Dheepak Krishnamurthy Date: Sat, 23 Dec 2023 22:28:08 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20Remove=20unnecessary=20clone=20?= =?UTF-8?q?=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- async/template/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/async/template/src/utils.rs b/async/template/src/utils.rs index b1171e5..da22959 100644 --- a/async/template/src/utils.rs +++ b/async/template/src/utils.rs @@ -144,7 +144,7 @@ macro_rules! trace_dbg { pub fn version() -> String { let author = clap::crate_authors!(); - let commit_hash = GIT_COMMIT_HASH.clone(); + let commit_hash = GIT_COMMIT_HASH; // let current_exe_path = PathBuf::from(clap::crate_name!()).display().to_string(); let config_dir_path = get_config_dir().display().to_string();