From 4e6c663a2e1226253482042a65a78517fe998419 Mon Sep 17 00:00:00 2001 From: funilrys Date: Sat, 3 Dec 2022 19:14:24 +0100 Subject: [PATCH] Release unecessary ownership. --- dump/src/reader/v5/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dump/src/reader/v5/mod.rs b/dump/src/reader/v5/mod.rs index 150e4d16f..d8f6be489 100644 --- a/dump/src/reader/v5/mod.rs +++ b/dump/src/reader/v5/mod.rs @@ -208,7 +208,7 @@ impl V5IndexReader { for line in tasks.lines() { let task: Task = serde_json::from_str(&line?)?; - if task.index_uid().unwrap_or_default().to_string() == name { + if *task.index_uid().unwrap_or_default().to_string() == name { if updated_at.is_none() { updated_at = task.updated_at() }