cargo clippy

This commit is contained in:
Nyaaori
2022-10-10 14:09:11 +02:00
parent ca82b2940d
commit f430b87459
32 changed files with 139 additions and 166 deletions

View File

@@ -15,7 +15,7 @@ impl service::rooms::search::Data for KeyValueDatabase {
let mut key = shortroomid.to_be_bytes().to_vec();
key.extend_from_slice(word.as_bytes());
key.push(0xff);
key.extend_from_slice(&pdu_id);
key.extend_from_slice(pdu_id);
(key, Vec::new())
});