mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
enable struct_excessive_bools lint
And ignore it in the one place it fires, I know.
This commit is contained in:
parent
75358340bb
commit
8ef278d358
2 changed files with 2 additions and 0 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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")]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue