From bb6813abf365728d9851ee205b2c25b925a0f06a Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 21 Aug 2022 17:04:18 +0800 Subject: [PATCH] thanks clippy --- src/plumbing/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plumbing/main.rs b/src/plumbing/main.rs index 69034e209bf..3b53a17da57 100644 --- a/src/plumbing/main.rs +++ b/src/plumbing/main.rs @@ -91,6 +91,7 @@ pub fn main() -> Result<()> { })?; match cmd { + #[cfg_attr(feature = "small", allow(unused_variables))] Subcommands::Remote(remote::Platform { name, cmd }) => match cmd { #[cfg(any(feature = "gitoxide-core-async-client", feature = "gitoxide-core-blocking-client"))] remote::Subcommands::Refs => { @@ -120,8 +121,7 @@ pub fn main() -> Result<()> { )) } } - } - .map(|_| ()), + }, Subcommands::Config(config::Platform { filter }) => prepare_and_run( "config-list", verbose,