mirror of
https://github.com/ArcaneChat/core.git
synced 2026-07-03 14:05:33 +02:00
Fix benchmark compile error (#2457)
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ async fn address_book_benchmark(n: u32, read_count: u32) {
|
||||
.collect::<Vec<String>>()
|
||||
.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 {
|
||||
|
||||
Reference in New Issue
Block a user