mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41: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
|
|
@ -96,6 +96,7 @@ used_underscore_binding = "warn"
|
|||
verbose_file_reads = "warn"
|
||||
wildcard_dependencies = "warn"
|
||||
wildcard_imports = "warn"
|
||||
zero_sized_map_values = "warn"
|
||||
|
||||
[package]
|
||||
name = "grapevine"
|
||||
|
|
|
|||
|
|
@ -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