v0.19.0 #28
Annotations
2 warnings
security_audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
called `iter().cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable:
src/lib.rs#L62
warning: called `iter().cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable
--> src/lib.rs:62:50
|
62 | 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)]`
|