From 2ed55f40a13ddcc0bf61d5f06a46028abf9535c2 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Mon, 22 Feb 2021 12:24:21 -0800 Subject: [PATCH] cargo fmt --- sim/src/mechanics/walking.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sim/src/mechanics/walking.rs b/sim/src/mechanics/walking.rs index 4436d2f5db..644326e2c5 100644 --- a/sim/src/mechanics/walking.rs +++ b/sim/src/mechanics/walking.rs @@ -745,7 +745,10 @@ impl Pedestrian { PedState::WaitingToTurn(_, _) => Some(self.path.next_step().as_turn()), _ => None, }, - preparing_bike: matches!(self.state, PedState::StartingToBike(_, _, _) | PedState::FinishingBiking(_, _, _)), + preparing_bike: matches!( + self.state, + PedState::StartingToBike(_, _, _) | PedState::FinishingBiking(_, _, _) + ), waiting_for_bus: matches!(self.state, PedState::WaitingForBus(_, _)), on, }