Also run clippy for benchmarks in CI (#3241)

…and fix two lints
This commit is contained in:
Hocuri
2022-04-22 15:06:34 +02:00
committed by GitHub
parent 9ef0b43c36
commit e9963ecc0d
3 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ use deltachat::chatlist::Chatlist;
use deltachat::context::Context;
async fn get_chat_list_benchmark(context: &Context) {
Chatlist::try_load(&context, 0, None, None).await.unwrap();
Chatlist::try_load(context, 0, None, None).await.unwrap();
}
fn criterion_benchmark(c: &mut Criterion) {