From 7a1871055a5e17b6cccf683451391faaf60665ee Mon Sep 17 00:00:00 2001 From: Thomas Pearson Date: Sun, 23 Apr 2023 22:33:04 +1200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=AD=20skip=20clippy=20warning=20for=20?= =?UTF-8?q?now.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/clap-rs/clap/issues/4733#issuecomment-1446073007 --- src/cli/commands.rs | 1 + src/cli/config/args.rs | 1 + 2 files changed, 2 insertions(+) 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.