make rustfmt happy

This commit is contained in:
Jorge Aparicio 2021-01-28 16:14:44 +01:00
parent 17ebad4a3c
commit 450b3b77a9

View file

@ -176,7 +176,7 @@ impl ops::DerefMut for Timer {
///
/// This return an `Err`or if called more than once
pub fn init() -> Result<Board, ()> {
if let Some(periph) = hal::target::Peripherals::take() {
if let Some(periph) = hal::target::Peripherals::take() {
// NOTE(static mut) this branch runs at most once
#[cfg(feature = "advanced")]
static mut EP0IN_BUF: [u8; 64] = [0; 64];