Skip to content

Commit

Permalink
thanks clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Aug 21, 2022
1 parent db4df25 commit bb6813a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plumbing/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down Expand Up @@ -120,8 +121,7 @@ pub fn main() -> Result<()> {
))
}
}
}
.map(|_| ()),
},
Subcommands::Config(config::Platform { filter }) => prepare_and_run(
"config-list",
verbose,
Expand Down

0 comments on commit bb6813a

Please sign in to comment.