mirror of https://codeberg.org/topola/topola.git
chore(router/ng/mod): Run cargo fmt
This commit is contained in:
parent
80a048faaf
commit
185c2972b7
|
|
@ -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();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue