chore(router/ng/mod): Run cargo fmt

This commit is contained in:
Ellen Emilia Anna Zscheile 2025-06-30 15:26:38 +02:00
parent 80a048faaf
commit 185c2972b7
1 changed files with 6 additions and 8 deletions

View File

@ -385,14 +385,13 @@ pub fn calculate_navmesh<R: AccessRules>(
}); });
*/ */
} }
Some(x) => { Some(x) => x
x.map(|(band_uid, _)| { .map(|(band_uid, _)| {
RelaxedPath::Normal( RelaxedPath::Normal(
*board.bands_by_id().get_by_right(&band_uid).unwrap(), *board.bands_by_id().get_by_right(&band_uid).unwrap(),
) )
}) })
.collect::<Vec<_>>() .collect::<Vec<_>>(),
}
}; };
if bands != *barrier0 { if bands != *barrier0 {
@ -430,14 +429,13 @@ pub fn calculate_navmesh<R: AccessRules>(
}); });
*/ */
} }
Some(x) => { Some(x) => x
x.map(|(band_uid, _)| { .map(|(band_uid, _)| {
RelaxedPath::Normal( RelaxedPath::Normal(
*board.bands_by_id().get_by_right(&band_uid).unwrap(), *board.bands_by_id().get_by_right(&band_uid).unwrap(),
) )
}) })
.collect::<Vec<_>>() .collect::<Vec<_>>(),
}
}; };
bands.reverse(); bands.reverse();