enable zero_sized_map_values lint

This commit is contained in:
Charles Hall 2024-05-14 19:47:55 -07:00
parent 44b15dcb08
commit a569bf8d99
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
2 changed files with 3 additions and 0 deletions

View file

@ -80,6 +80,8 @@ pub(crate) struct Config {
pub(crate) emergency_password: Option<String>,
#[serde(flatten)]
// This has special meaning to `serde`
#[allow(clippy::zero_sized_map_values)]
pub(crate) catchall: BTreeMap<String, IgnoredAny>,
}