From c8de875223e97a7d4579621a7bdcee5bc7c5d9ef Mon Sep 17 00:00:00 2001 From: chirpcel Date: Sat, 4 Jan 2025 15:45:49 +0100 Subject: [PATCH] fix(external-ssh-signer): reformat code --- asyncgit/src/sync/sign.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/asyncgit/src/sync/sign.rs b/asyncgit/src/sync/sign.rs index 44c6cfd287..2908d5084e 100644 --- a/asyncgit/src/sync/sign.rs +++ b/asyncgit/src/sync/sign.rs @@ -192,11 +192,9 @@ impl SignBuilder { NamedTempFile::new().map_err(|err| { SignBuilderError::SSHSigningKey(err.to_string()) })?; - writeln!(temp_file, "{signing_key}").map_err( - |err| { - SignBuilderError::SSHSigningKey(err.to_string()) - }, - )?; + writeln!(temp_file, "{signing_key}").map_err(|err| { + SignBuilderError::SSHSigningKey(err.to_string()) + })?; let temp_file = temp_file.keep().map_err(|err| { SignBuilderError::SSHSigningKey(err.to_string()) })?;