From a5ea0365a872355278c4bbb4abf5ab37ed9df267 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Fri, 6 Sep 2024 14:21:02 +0200 Subject: [PATCH] fix(lint): add reason for allow attribute --- src/cli.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index 0319f31..b2efe7e 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -9,7 +9,10 @@ use crate::cache::Cacheable; use crate::languagetool::categories::Categories; use crate::utils::{check_and_annotate, fetch_docs}; -#[allow(clippy::struct_excessive_bools)] +#[allow( + clippy::struct_excessive_bools, + reason = "This is a CLI configuration struct." +)] #[derive(Parser)] pub struct Config { #[clap(