From df57336a799a9a406d25bef6926dada7e2255245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Sat, 2 Mar 2024 17:59:28 +0300 Subject: [PATCH] refactor(clippy): apply clippy suggestions --- git-cliff/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-cliff/src/lib.rs b/git-cliff/src/lib.rs index d6181d6355..0cf683d4f4 100644 --- a/git-cliff/src/lib.rs +++ b/git-cliff/src/lib.rs @@ -485,7 +485,7 @@ pub fn run(mut args: Opt) -> Result<()> { }; } if let Some(ref path) = args.prepend { - changelog.prepend(fs::read_to_string(&path)?, &mut File::create(path)?)?; + changelog.prepend(fs::read_to_string(path)?, &mut File::create(path)?)?; } if let Some(path) = args.output { let mut output = File::create(path)?;