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 {