From 46e901be78f4b78bd52306af3e2b4f9600bfea58 Mon Sep 17 00:00:00 2001 From: Hocuri Date: Fri, 28 May 2021 18:48:13 +0200 Subject: [PATCH] Fix benchmark compile error (#2457) --- benches/contacts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/contacts.rs b/benches/contacts.rs index 6820d7183..4478c8d84 100644 --- a/benches/contacts.rs +++ b/benches/contacts.rs @@ -17,7 +17,7 @@ async fn address_book_benchmark(n: u32, read_count: u32) { .collect::>() .join(""); - Contact::add_address_book(&context, book).await.unwrap(); + Contact::add_address_book(&context, &book).await.unwrap(); let query: Option<&str> = None; for _ in 0..read_count {