From 2c132e6df8a9112b080192562648de9e69f9b10b Mon Sep 17 00:00:00 2001 From: Mathieu Velten Date: Mon, 3 Apr 2023 12:59:12 +0200 Subject: [PATCH] More clippy --- src/database/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/mod.rs b/src/database/mod.rs index 5066bc2..51743e2 100644 --- a/src/database/mod.rs +++ b/src/database/mod.rs @@ -734,7 +734,7 @@ fn duplicate_empty_profiles() { .prepare("SELECT id FROM profile WHERE user_id=?1") .unwrap(); - let profile_ids = stmt.query_map(&[user_id], |row| row.get(0)).unwrap(); + let profile_ids = stmt.query_map([user_id], |row| row.get(0)).unwrap(); let mut id_count = 0;