enable match_wildcard_for_single_variants lint

This commit is contained in:
Charles Hall 2024-05-14 18:35:18 -07:00
parent 2b8b5ccb1a
commit c4a9bca16f
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
3 changed files with 3 additions and 2 deletions

View file

@ -23,7 +23,7 @@ pub(crate) async fn get_context_route(
LazyLoadOptions::Enabled {
include_redundant_members,
} => (true, *include_redundant_members),
_ => (false, false),
LazyLoadOptions::Disabled => (false, false),
};
let mut lazy_loaded = HashSet::new();

View file

@ -195,7 +195,7 @@ async fn sync_helper(
LazyLoadOptions::Enabled {
include_redundant_members: redundant,
} => (true, redundant),
_ => (false, false),
LazyLoadOptions::Disabled => (false, false),
};
let full_state = body.full_state;