mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
enable match_wildcard_for_single_variants lint
This commit is contained in:
parent
2b8b5ccb1a
commit
c4a9bca16f
3 changed files with 3 additions and 2 deletions
|
|
@ -49,6 +49,7 @@ manual_string_new = "warn"
|
||||||
map_unwrap_or = "warn"
|
map_unwrap_or = "warn"
|
||||||
match_bool = "warn"
|
match_bool = "warn"
|
||||||
match_same_arms = "warn"
|
match_same_arms = "warn"
|
||||||
|
match_wildcard_for_single_variants = "warn"
|
||||||
mem_forget = "warn"
|
mem_forget = "warn"
|
||||||
missing_assert_message = "warn"
|
missing_assert_message = "warn"
|
||||||
mod_module_files = "warn"
|
mod_module_files = "warn"
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ pub(crate) async fn get_context_route(
|
||||||
LazyLoadOptions::Enabled {
|
LazyLoadOptions::Enabled {
|
||||||
include_redundant_members,
|
include_redundant_members,
|
||||||
} => (true, *include_redundant_members),
|
} => (true, *include_redundant_members),
|
||||||
_ => (false, false),
|
LazyLoadOptions::Disabled => (false, false),
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut lazy_loaded = HashSet::new();
|
let mut lazy_loaded = HashSet::new();
|
||||||
|
|
|
||||||
|
|
@ -195,7 +195,7 @@ async fn sync_helper(
|
||||||
LazyLoadOptions::Enabled {
|
LazyLoadOptions::Enabled {
|
||||||
include_redundant_members: redundant,
|
include_redundant_members: redundant,
|
||||||
} => (true, redundant),
|
} => (true, redundant),
|
||||||
_ => (false, false),
|
LazyLoadOptions::Disabled => (false, false),
|
||||||
};
|
};
|
||||||
|
|
||||||
let full_state = body.full_state;
|
let full_state = body.full_state;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue