diff --git a/nrf-hal-common/src/gpio.rs b/nrf-hal-common/src/gpio.rs index 77e2aa73..77d37efe 100644 --- a/nrf-hal-common/src/gpio.rs +++ b/nrf-hal-common/src/gpio.rs @@ -259,7 +259,7 @@ impl Pin { } } -impl InputPin for Pin> { +impl InputPin for Pin { type Error = Void; fn is_high(&self) -> Result { @@ -529,7 +529,7 @@ macro_rules! gpio { } } - impl InputPin for $PXi> { + impl InputPin for $PXi { type Error = Void; fn is_high(&self) -> Result {