From c5d179917bca86a4d712800dd8f0c10417fdf1d5 Mon Sep 17 00:00:00 2001 From: Gabriel Smith Date: Tue, 5 Oct 2021 19:38:08 -0400 Subject: [PATCH] i2c: docs: Wrap a long line on ErrorKind::Bus --- src/i2c.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/i2c.rs b/src/i2c.rs index f06c37355..6d50192e5 100644 --- a/src/i2c.rs +++ b/src/i2c.rs @@ -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,