Skip to content

Commit c5d1799

Browse files
committed
i2c: docs: Wrap a long line on ErrorKind::Bus
1 parent 1476c81 commit c5d1799

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/i2c.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ pub trait Error: core::fmt::Debug {
119119
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
120120
#[non_exhaustive]
121121
pub enum ErrorKind {
122-
/// 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.
122+
/// Bus error occurred. e.g. A START or a STOP condition is detected and is not
123+
/// located after a multiple of 9 SCL clock pulses.
123124
Bus,
124125
/// The arbitration was lost, e.g. electrical problems with the clock signal
125126
ArbitrationLoss,

0 commit comments

Comments
 (0)