Skip to content

Use sealed traits instead of unsafe markers on traits (#45) #107

Use sealed traits instead of unsafe markers on traits (#45)

Use sealed traits instead of unsafe markers on traits (#45) #107

GitHub Actions / clippy succeeded Jan 10, 2024 in 1s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
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 warning on line 235 in src/watchdog.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unneeded unit return type

warning: unneeded unit return type
   --> src/watchdog.rs:235:23
    |
235 |     fn feed(&mut self) -> () {
    |                       ^^^^^^ help: remove the `-> ()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
    = note: `#[warn(clippy::unused_unit)]` on by default