From 14643803ab18411cff77ee8f1607b64a37ad976a Mon Sep 17 00:00:00 2001 From: mateuszpiorowski Date: Thu, 14 Mar 2024 10:55:57 +0100 Subject: [PATCH] update --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 0206155..381cba4 100644 --- a/src/config.rs +++ b/src/config.rs @@ -40,7 +40,7 @@ impl Config { let templates_path = config_json .get("templates_path") .and_then(|v| v.as_str()) - .map(|v| PathBuf::from(v)) + .map(PathBuf::from) .context("Templates folder path not found in config")?; let clipboard_command = config_json .get("clipboard_command")