moss: parallelize 'state verify' #1594
ci.yaml
on: pull_request
Build & Test Project
1m 33s
Annotations
3 warnings
[clippy] moss/src/client/verify.rs#L63:
moss/src/client/verify.rs#L63
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> moss/src/client/verify.rs:63:60
|
63 | let path = cache::asset_path(&client.installation, &hash);
| ^^^^^ help: change this to: `hash`
|
= 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
|
[clippy] moss/src/client/verify.rs#L79:
moss/src/client/verify.rs#L79
warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec`
--> moss/src/client/verify.rs:79:36
|
79 | packages: meta.into_iter().map(|(package, _)| package).collect(),
| ^^^^^^^^^ help: call directly: `iter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
= note: `#[warn(clippy::into_iter_on_ref)]` on by default
|
[clippy] moss/src/client/verify.rs#L112:
moss/src/client/verify.rs#L112
warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec`
--> moss/src/client/verify.rs:112:36
|
112 | packages: meta.into_iter().map(|(package, _)| package).collect(),
| ^^^^^^^^^ help: call directly: `iter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
|