Skip to content

chore: bump version to 0.9.1 #69

chore: bump version to 0.9.1

chore: bump version to 0.9.1 #69

GitHub Actions / clippy succeeded Oct 22, 2024 in 0s

clippy

3 warnings

Details

Results

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

Versions

  • rustc 1.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check warning on line 268 in src/monitor.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `impl` can be derived

warning: this `impl` can be derived
   --> src/monitor.rs:264:1
    |
264 | / impl Default for EventType {
265 | |     fn default() -> Self {
266 | |         EventType::Unknown
267 | |     }
268 | | }
    | |_^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
    = note: `#[warn(clippy::derivable_impls)]` on by default
    = help: remove the manual implementation...
help: ...and instead derive it...
    |
244 + #[derive(Default)]
245 | pub enum EventType {
    |
help: ...and mark the default variant
    |
261 ~     #[default]
262 ~     Unknown,
    |

Check warning on line 185 in src/monitor.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> src/monitor.rs:185:25
    |
185 |         SocketIter::new(&self)
    |                         ^^^^^ help: change this to: `self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `#[warn(clippy::needless_borrow)]` on by default

Check warning on line 323 in src/device.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant closure

warning: redundant closure
   --> src/device.rs:323:18
    |
323 |             .map(|path| Path::new(path))
    |                  ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `Path::new`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
    = note: `#[warn(clippy::redundant_closure)]` on by default