From 348e44880c81f1d223f53ab11897bae427073d42 Mon Sep 17 00:00:00 2001 From: nieboczek Date: Tue, 16 Dec 2025 15:26:02 +0100 Subject: Return an Iterator over recipe inputs and outputs instead of a Vec --- server/tools/src/graph_summary.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tools') diff --git a/server/tools/src/graph_summary.rs b/server/tools/src/graph_summary.rs index c6db2678..3b5c577c 100644 --- a/server/tools/src/graph_summary.rs +++ b/server/tools/src/graph_summary.rs @@ -46,8 +46,8 @@ pub(crate) fn graph_summary() -> Result<()> { let mut nodes = Vec::new(); for r in &data.recipes { nodes.push(Node { - inputs: r.inputs(), - outputs: r.outputs(), + inputs: r.inputs().collect(), + outputs: r.outputs().collect(), tool_item: None, tool_tile: r.tile(), instant: matches!(r, Recipe::Instant { .. }), -- cgit v1.3