Skip to content

Commit

Permalink
Remove #[allow(clippy::enum_variant_names ...)
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajSadel committed Jan 7, 2025
1 parent 46d3141 commit 9c5d825
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions esp-hal/src/uart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,15 +277,13 @@ pub enum Error {
///
/// This error occurs when the received data does not conform to the
/// expected UART frame format.
#[allow(clippy::enum_variant_names, reason = "Frame error is a common term")]
RxFrame,

/// A parity error was detected on the RX line.
///
/// This error occurs when the parity bit in the received data does not
/// match the expected parity configuration.
/// with the `async` feature.
#[allow(clippy::enum_variant_names, reason = "Parity error is a common term")]
RxParity,
}

Expand Down

0 comments on commit 9c5d825

Please sign in to comment.