From e8852cbacbc3741790fbd2028db4caafb755a1cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Kr=C3=B6ger?= Date: Mon, 11 Oct 2021 20:23:19 +0200 Subject: [PATCH] can: Rename 'Ack' error to 'Acknowledge' --- src/can/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/can/mod.rs b/src/can/mod.rs index e72581779..88929fd85 100644 --- a/src/can/mod.rs +++ b/src/can/mod.rs @@ -86,7 +86,7 @@ pub enum ErrorKind { /// An ACK error shall be detected by a transmitter whenever it does not /// monitor a dominant bit during the ACK slot. - Ack, + Acknowledge, /// A different error occurred. The original error may contain more information. Other, @@ -112,7 +112,7 @@ impl core::fmt::Display for ErrorKind { f, "A fixed-form bit field contains one or more illegal bits" ), - Self::Ack => write!(f, "Transmitted frame was not acknowledged"), + Self::Acknowledge => write!(f, "Transmitted frame was not acknowledged"), Self::Other => write!( f, "A different error occurred. The original error may contain more information"