Skip to content

ci: install rustls binary deps on windows #46

ci: install rustls binary deps on windows

ci: install rustls binary deps on windows #46

GitHub Actions / clippy succeeded Aug 31, 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.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8d 2024-08-06)

Annotations

Check warning on line 60 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

called `iter().cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable

warning: called `iter().cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable
  --> src/lib.rs:60:50
   |
60 |             roots: webpki_roots::TLS_SERVER_ROOTS.iter().cloned().collect(),
   |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `.to_vec()`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_cloned_collect
   = note: `-W clippy::iter-cloned-collect` implied by `-W clippy::all`
   = help: to override `-W clippy::all` add `#[allow(clippy::iter_cloned_collect)]`