From 52e1d2423d9df7096502ad27f564a0836e8a4655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jochen=20G=C3=B6rtler?= Date: Wed, 20 Nov 2024 20:21:44 +0100 Subject: [PATCH] WIP: lints --- crates/viewer/re_space_view_graph/src/layout/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/viewer/re_space_view_graph/src/layout/mod.rs b/crates/viewer/re_space_view_graph/src/layout/mod.rs index 1fb86dcef958..b3f275d9c0c5 100644 --- a/crates/viewer/re_space_view_graph/src/layout/mod.rs +++ b/crates/viewer/re_space_view_graph/src/layout/mod.rs @@ -113,7 +113,7 @@ impl ForceLayout { let positions = self.simulation.positions().collect::>(); - for (node, extent) in layout.extents.iter_mut() { + for (node, extent) in &mut layout.extents { let i = self.node_index[node]; let [x, y] = positions[i]; let pos = Pos2::new(x as f32, y as f32);