diff options
| author | [email protected] <[email protected]> | 2022-07-10 21:36:04 +0200 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2022-07-10 21:36:04 +0200 |
| commit | 1eca026ebdbbb85056ad27058a750d726013c5e3 (patch) | |
| tree | 65f0522d1efeb2841c2a38844d81403c659adb83 | |
| parent | e4a36e1d98ac62482285dfb2b22f2683c3840572 (diff) | |
Have removed redondant ErrorType trait impl
| -rw-r--r-- | embassy-stm32/src/gpio.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/embassy-stm32/src/gpio.rs b/embassy-stm32/src/gpio.rs index fd0bdb7b7..4926e1d8a 100644 --- a/embassy-stm32/src/gpio.rs +++ b/embassy-stm32/src/gpio.rs | |||
| @@ -868,10 +868,6 @@ mod eh1 { | |||
| 868 | } | 868 | } |
| 869 | } | 869 | } |
| 870 | 870 | ||
| 871 | impl<'d, T: Pin> ErrorType for Flex<'d, T> { | ||
| 872 | type Error = Infallible; | ||
| 873 | } | ||
| 874 | |||
| 875 | impl<'d, T: Pin> InputPin for Flex<'d, T> { | 871 | impl<'d, T: Pin> InputPin for Flex<'d, T> { |
| 876 | #[inline] | 872 | #[inline] |
| 877 | fn is_high(&self) -> Result<bool, Self::Error> { | 873 | fn is_high(&self) -> Result<bool, Self::Error> { |
