Skip to content

Merge pull request #57 from yanorei32/renovate/swatinem-rust-cache-2.x #93

Merge pull request #57 from yanorei32/renovate/swatinem-rust-cache-2.x

Merge pull request #57 from yanorei32/renovate/swatinem-rust-cache-2.x #93

GitHub Actions / clippy succeeded Jan 14, 2024 in 0s

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 36 in src/request_sender.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

length comparison to zero

warning: length comparison to zero
  --> src/request_sender.rs:36:12
   |
36 |         if clients.len() == 0 {
   |            ^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `clients.is_empty()`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
   = note: `#[warn(clippy::len_zero)]` on by default