diff options
author | Joris | 2023-04-17 21:10:48 +0200 |
---|---|---|
committer | Joris | 2023-04-17 21:10:48 +0200 |
commit | 459016e70dd4933a8082d27748097de81a3e53ff (patch) | |
tree | 0ed14ecc8762d62a55bf8c05356bcc984b1a0cea /src/db/incomes.rs | |
parent | 3932daa26360d6e03807381d0b8ffa2d0e704847 (diff) |
Follow clippy indications
Diffstat (limited to 'src/db/incomes.rs')
-rw-r--r-- | src/db/incomes.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/incomes.rs b/src/db/incomes.rs index 2952d62..e5c3164 100644 --- a/src/db/incomes.rs +++ b/src/db/incomes.rs @@ -18,7 +18,7 @@ WHERE incomes.deleted_at IS NULL "#; - let res = sqlx::query(&query) + let res = sqlx::query(query) .map(|row: SqliteRow| row.get("count")) .fetch_one(pool) .await; @@ -169,7 +169,7 @@ WHERE AND deleted_at IS NULL "#; - let res = sqlx::query(&query) + let res = sqlx::query(query) .bind(user_id) .bind(date) .map(|row: SqliteRow| row.get("id")) |