fix clipy warnings

This commit is contained in:
ad hoc 2022-05-25 15:07:52 +02:00
parent 74a1f88d88
commit 1647ca3c1f
No known key found for this signature in database
GPG key ID: 4F00A782990CC643
5 changed files with 10 additions and 19 deletions

View file

@ -110,7 +110,7 @@ impl Store {
self.tasks.put(txn, &BEU64::new(task.id), task)?;
// only add the task to the indexes index if it has an index_uid
if let Some(ref index_uid) = task.index_uid {
self.uids_task_ids.put(txn, &(&index_uid, task.id), &())?;
self.uids_task_ids.put(txn, &(index_uid, task.id), &())?;
}
Ok(())