From 67d9da85e6eb796d2862915897c52679816dc571 Mon Sep 17 00:00:00 2001 From: Jonathan Pallant Date: Sun, 26 Dec 2021 20:57:04 +0000 Subject: [PATCH] Fix docs for SerialInfallible. --- rp2040-hal/src/uart/utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rp2040-hal/src/uart/utils.rs b/rp2040-hal/src/uart/utils.rs index 9d9e540..ba6b455 100644 --- a/rp2040-hal/src/uart/utils.rs +++ b/rp2040-hal/src/uart/utils.rs @@ -74,9 +74,9 @@ pub struct UartConfig { pub parity: Option, } -/// Same as core::convert::Infallible, but implementing spi::Error +/// Same as core::convert::Infallible, but implementing serial::Error /// -/// For eh 1.0.0-alpha.6, Infallible doesn't implement spi::Error, +/// For eh 1.0.0-alpha.6, Infallible doesn't implement serial::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)