diff --git a/src/cli/commands.rs b/src/cli/commands.rs index 2d857ea..cce7961 100644 --- a/src/cli/commands.rs +++ b/src/cli/commands.rs @@ -10,6 +10,7 @@ use crate::{ use super::{checkout, commit, config, context, templates}; +#[allow(clippy::almost_swapped)] #[derive(Debug, Clone, Subcommand)] pub enum Commands { /// Commit staged changes via git with a template message. diff --git a/src/cli/config/args.rs b/src/cli/config/args.rs index 4a1278c..7c055d5 100644 --- a/src/cli/config/args.rs +++ b/src/cli/config/args.rs @@ -12,6 +12,7 @@ use crate::{ entry::Interactive, }; +#[allow(clippy::almost_swapped)] #[derive(Debug, Clone, Subcommand)] pub enum Arguments { /// Add / register a custom config file.