Fix clippy warnings

This commit is contained in:
link2xt
2021-08-07 11:47:32 +00:00
parent 4ef80aaea5
commit 85efc0ea26

View File

@@ -413,7 +413,7 @@ impl TestContext {
// This code is mainly the same as `log_msglist` in `cmdline.rs`, so one day, we could
// merge them to a public function in the `deltachat` crate.
#[allow(dead_code)]
#[allow(clippy::clippy::indexing_slicing)]
#[allow(clippy::indexing_slicing)]
pub async fn print_chat(&self, chat_id: ChatId) {
let msglist = chat::get_chat_msgs(self, chat_id, 0x1, None).await.unwrap();
let msglist: Vec<MsgId> = msglist