have reverted changed in mod eh1 from previous commit

This commit is contained in:
amugniere@gmail.com 2022-06-30 22:55:57 +02:00
parent 9b3c5af92a
commit f05082b9a3

View File

@ -744,11 +744,11 @@ mod eh1 {
use super::*; use super::*;
impl<'d, T: Pin> ErrorType for Flex<'d, T> { impl<'d, T: Pin> ErrorType for Input<'d, T> {
type Error = Infallible; type Error = Infallible;
} }
impl<'d, T: Pin> InputPin for Flex<'d, T> { impl<'d, T: Pin> InputPin for Input<'d, T> {
#[inline] #[inline]
fn is_high(&self) -> Result<bool, Self::Error> { fn is_high(&self) -> Result<bool, Self::Error> {
Ok(self.is_high()) Ok(self.is_high())