Skip to content

feat[#4]: update command #44

feat[#4]: update command

feat[#4]: update command #44

Triggered via pull request January 6, 2024 11:17
@zfwfzfwf
synchronize #12
feat/update
Status Success
Total duration 1m 48s
Artifacts

ci.yml

on: pull_request
Rustfmt [Formatter]
11s
Rustfmt [Formatter]
Matrix: Clippy [Linter]
Compile with no features enabled
14s
Compile with no features enabled
Compile with all features enabled
13s
Compile with all features enabled
Matrix: Test Suite
Fit to window
Zoom out
Zoom in

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)]`