mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-24 05:01:31 +11:00
Fix docs for SerialInfallible.
This commit is contained in:
parent
55acbdb1b0
commit
67d9da85e6
|
@ -74,9 +74,9 @@ pub struct UartConfig {
|
||||||
pub parity: Option<Parity>,
|
pub parity: Option<Parity>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 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.
|
/// so use a locally defined type instead.
|
||||||
/// This should be removed with the next release of e-h.
|
/// This should be removed with the next release of e-h.
|
||||||
/// (https://github.com/rust-embedded/embedded-hal/pull/328)
|
/// (https://github.com/rust-embedded/embedded-hal/pull/328)
|
||||||
|
|
Loading…
Reference in a new issue