From 185c2972b7d44d04c2db4afbda39b1648a8039bd Mon Sep 17 00:00:00 2001 From: Ellen Emilia Anna Zscheile Date: Mon, 30 Jun 2025 15:26:38 +0200 Subject: [PATCH] chore(router/ng/mod): Run cargo fmt --- src/router/ng/mod.rs | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/router/ng/mod.rs b/src/router/ng/mod.rs index 7a73aa4..3fdb54c 100644 --- a/src/router/ng/mod.rs +++ b/src/router/ng/mod.rs @@ -385,14 +385,13 @@ pub fn calculate_navmesh( }); */ } - Some(x) => { - x.map(|(band_uid, _)| { + Some(x) => x + .map(|(band_uid, _)| { RelaxedPath::Normal( *board.bands_by_id().get_by_right(&band_uid).unwrap(), ) }) - .collect::>() - } + .collect::>(), }; if bands != *barrier0 { @@ -430,14 +429,13 @@ pub fn calculate_navmesh( }); */ } - Some(x) => { - x.map(|(band_uid, _)| { + Some(x) => x + .map(|(band_uid, _)| { RelaxedPath::Normal( *board.bands_by_id().get_by_right(&band_uid).unwrap(), ) }) - .collect::>() - } + .collect::>(), }; bands.reverse();