Skip to content

serial over websocket #189

serial over websocket

serial over websocket #189

GitHub Actions / clippy failed Jan 18, 2024 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check failure on line 244 in src/serial_service/serial_handler.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

variant name ends with the enum's name

error: variant name ends with the enum's name
   --> src/serial_service/serial_handler.rs:244:5
    |
244 |     SerialError(#[from] tokio_serial::Error),
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
    = note: `-D clippy::enum-variant-names` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::enum_variant_names)]`