diff --git a/sw/rust/ibex-demo-system-hal/src/timer.rs b/sw/rust/ibex-demo-system-hal/src/timer.rs index d480e661..45d7e03d 100644 --- a/sw/rust/ibex-demo-system-hal/src/timer.rs +++ b/sw/rust/ibex-demo-system-hal/src/timer.rs @@ -105,7 +105,9 @@ impl> timer::CountDown for CountDo } fn wait(&mut self) -> nb::Result<(), void::Void> { - let Some(timeout) = self.timeout else { panic!("Countdown not started"); }; + let Some(timeout) = self.timeout else { + panic!("Countdown not started"); + }; if self.timer.get_counter() < timeout { return Err(nb::Error::WouldBlock);