mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
enable zero_sized_map_values lint
This commit is contained in:
parent
44b15dcb08
commit
a569bf8d99
2 changed files with 3 additions and 0 deletions
|
|
@ -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>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue