From 7edb7f578d5e87a4d9e28586c2e066269041cc1d Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Fri, 18 Jul 2025 13:22:14 +0200 Subject: Apply formatting --- src/command/publish_archive.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/command/publish_archive.rs') diff --git a/src/command/publish_archive.rs b/src/command/publish_archive.rs index 289b0c8..0d1bca5 100644 --- a/src/command/publish_archive.rs +++ b/src/command/publish_archive.rs @@ -23,9 +23,8 @@ impl super::Command for PublishArchive { configuration: &Configuration, _: &str, ) -> Result<()> { - let input = input.ok_or_else(|| { - Error::other("You must provide a location to publish the archive") - })?; + let input = input + .ok_or_else(|| Error::other("You must provide a location to publish the archive"))?; Command::new(COMMAND) .arg("--version") -- cgit