Skip to content

Commit

Permalink
More clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Velten committed Apr 3, 2023
1 parent baf98d4 commit 2c132e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2c132e6

Please sign in to comment.