feat[#4]: update command #44
ci.yml
on: pull_request
Compile with no features enabled
14s
Compile with all features enabled
13s
Matrix: Test Suite
Annotations
4 errors
[clippy] src/hooks/resource.rs#L158:
src/hooks/resource.rs#L158
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/hooks/resource.rs:158:76
|
158 | get_resource_location(payload_config_dir, current_install_dir, &url, init_result)
| ^^^^ help: change this to: `url`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] src/utils/listing.rs#L4:
src/utils/listing.rs#L4
error: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> src/utils/listing.rs:4:15
|
4 | payloads: &Vec<Payload>,
| ^^^^^^^^^^^^^ help: change this to: `&[Payload]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `-D clippy::ptr-arg` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`
|
[clippy] src/hooks/resource.rs#L158:
src/hooks/resource.rs#L158
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/hooks/resource.rs:158:76
|
158 | get_resource_location(payload_config_dir, current_install_dir, &url, init_result)
| ^^^^ help: change this to: `url`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] src/utils/listing.rs#L4:
src/utils/listing.rs#L4
error: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> src/utils/listing.rs:4:15
|
4 | payloads: &Vec<Payload>,
| ^^^^^^^^^^^^^ help: change this to: `&[Payload]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `-D clippy::ptr-arg` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`
|