fix lints for upcoming 1.88.0 toolchain

This commit is contained in:
Charles Hall 2025-07-21 09:33:01 -07:00
parent fa6fb37a2c
commit 595f35b673
19 changed files with 41 additions and 42 deletions

View file

@ -157,7 +157,7 @@ impl Service {
if i % 100 == 0 {
tokio::task::yield_now().await;
}
};
}
}
debug!(
chunk_cache_length = ?chunk_cache.len(),

View file

@ -1126,10 +1126,7 @@ impl Service {
services()
.rooms
.auth_chain
.get_auth_chain(
room_id,
state.iter().map(|(_, id)| id.clone()).collect(),
)
.get_auth_chain(room_id, state.values().cloned().collect())
.await?
.collect(),
);

View file

@ -155,7 +155,7 @@ impl Service {
.invalidate_cache(&pdu.room_id)
.await;
}
_ => continue,
_ => {}
}
}

View file

@ -257,7 +257,7 @@ impl Service {
)?;
return Ok(());
};
}
// Else we have two options.
// 1. We add the current diff on top of the parent layer.
@ -374,7 +374,7 @@ impl Service {
2,
states_parents,
)?;
};
}
Ok((new_shortstatehash, statediffnew, statediffremoved))
}

View file

@ -442,7 +442,7 @@ impl Service {
highlight = true;
}
_ => {}
};
}
}
if notify {
@ -497,7 +497,7 @@ impl Service {
)? {
self.redact_pdu(redact_id, pdu, shortroomid)?;
}
};
}
}
TimelineEventType::SpaceChild => {
if pdu.state_key.is_some() {