From f153732fcceaba8b9b7b2e15ab57882ccecb9e98 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 8 Nov 2021 01:04:00 +0100 Subject: [PATCH] applied cargo fmt --- src/gpio.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gpio.rs b/src/gpio.rs index f84834e..8388398 100644 --- a/src/gpio.rs +++ b/src/gpio.rs @@ -1,7 +1,7 @@ use crate::pac::SYSCONFIG; -use cortex_m::singleton; use core::convert::Infallible; use core::marker::PhantomData; +use cortex_m::singleton; use embedded_hal::digital::v2::{InputPin, OutputPin, StatefulOutputPin, ToggleableOutputPin}; use va108xx::IOCONFIG; @@ -28,7 +28,7 @@ pub enum PinState { enum PortId { A, - B + B, } trait GpioRegExt {