Skip to content

Commit

Permalink
i2c: docs: Wrap a long line on ErrorKind::Bus
Browse files Browse the repository at this point in the history
  • Loading branch information
yodaldevoid committed Oct 15, 2021
1 parent 1476c81 commit c5d1799
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/i2c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ pub trait Error: core::fmt::Debug {
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[non_exhaustive]
pub enum ErrorKind {
/// Bus error occurred. e.g. A START or a STOP condition is detected and is not located after a multiple of 9 SCL clock pulses.
/// Bus error occurred. e.g. A START or a STOP condition is detected and is not
/// located after a multiple of 9 SCL clock pulses.
Bus,
/// The arbitration was lost, e.g. electrical problems with the clock signal
ArbitrationLoss,
Expand Down

0 comments on commit c5d1799

Please sign in to comment.