Fix ALL clippy warnings

This commit is contained in:
Devin Ragotzy 2021-01-15 11:05:57 -05:00
parent 851eb555b6
commit 5a8041969d
12 changed files with 106 additions and 278 deletions

View file

@ -1113,9 +1113,7 @@ fn append_state(db: &Database, pdu: &PduEvent) -> Result<()> {
utils::to_canonical_object(pdu).expect("Pdu is valid canonical object"),
count,
pdu_id.clone().into(),
&db.globals,
&db.account_data,
&db.admin,
&db,
)?;
// We set the room state after inserting the pdu, so that we never have a moment in time