Skip to content

Commit

Permalink
can: Rename 'Ack' error to 'Acknowledge'
Browse files Browse the repository at this point in the history
  • Loading branch information
timokroeger committed Oct 20, 2021
1 parent 6a6ad3f commit 6b3820e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/can/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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"
Expand Down

0 comments on commit 6b3820e

Please sign in to comment.