enable struct_excessive_bools lint

And ignore it in the one place it fires, I know.
This commit is contained in:
Charles Hall 2024-05-14 19:11:22 -07:00
parent 75358340bb
commit 8ef278d358
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
2 changed files with 2 additions and 0 deletions

View file

@ -75,6 +75,7 @@ string_add = "warn"
string_lit_chars_any = "warn" string_lit_chars_any = "warn"
string_slice = "warn" string_slice = "warn"
string_to_string = "warn" string_to_string = "warn"
struct_excessive_bools = "warn"
suspicious_xor_used_as_pow = "warn" suspicious_xor_used_as_pow = "warn"
tests_outside_test_module = "warn" tests_outside_test_module = "warn"
try_err = "warn" try_err = "warn"

View file

@ -13,6 +13,7 @@ mod proxy;
use self::proxy::ProxyConfig; use self::proxy::ProxyConfig;
#[allow(clippy::struct_excessive_bools)]
#[derive(Clone, Debug, Deserialize)] #[derive(Clone, Debug, Deserialize)]
pub(crate) struct Config { pub(crate) struct Config {
#[serde(default = "default_address")] #[serde(default = "default_address")]