enable default_trait_access lint

This commit is contained in:
Charles Hall 2024-05-14 16:08:26 -07:00
parent da842c6499
commit 0f2cf26a36
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
7 changed files with 20 additions and 13 deletions

View file

@ -214,7 +214,7 @@ impl Service {
if let Some(state_key) = &pdu.state_key {
if let CanonicalJsonValue::Object(unsigned) = pdu_json
.entry("unsigned".to_owned())
.or_insert_with(|| CanonicalJsonValue::Object(Default::default()))
.or_insert_with(|| CanonicalJsonValue::Object(CanonicalJsonObject::default()))
{
if let Some(shortstatehash) = services()
.rooms