diff --git a/rp2040-hal/src/spi.rs b/rp2040-hal/src/spi.rs index b826683..babc486 100644 --- a/rp2040-hal/src/spi.rs +++ b/rp2040-hal/src/spi.rs @@ -190,6 +190,8 @@ impl Spi { /// /// For eh 1.0.0-alpha.6, Infallible doesn't implement spi::Error, /// so use a locally defined type instead. +/// This should be removed with the next release of e-h. +/// (https://github.com/rust-embedded/embedded-hal/pull/328) #[cfg(feature = "eh1_0_alpha")] pub enum SpiInfallible {} diff --git a/rp2040-hal/src/uart.rs b/rp2040-hal/src/uart.rs index b6724c3..0bd3f49 100644 --- a/rp2040-hal/src/uart.rs +++ b/rp2040-hal/src/uart.rs @@ -532,6 +532,8 @@ impl eh1::Read for UartPeripheral { /// /// For eh 1.0.0-alpha.6, Infallible doesn't implement spi::Error, /// so use a locally defined type instead. +/// This should be removed with the next release of e-h. +/// (https://github.com/rust-embedded/embedded-hal/pull/328) #[cfg(feature = "eh1_0_alpha")] pub enum SerialInfallible {}