fix: update meta map iteration to use tuple pattern

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-28 15:17:45 -03:00
parent 9ab4341c2e
commit 06a4b3ec73

View File

@@ -115,7 +115,7 @@ fn build_item_list(conn: &Connection, params: &ListQueryParams, columns: &[Colum
let meta: HashMap<String, String> = meta_map.get(&item_id)
.map(|metas| {
metas.iter()
.map(|meta| (meta.name.clone(), meta.value.clone()))
.map(|(name, value)| (name.clone(), value.clone()))
.collect()
})
.unwrap_or_default();