Bump syslog from 6.1.1 to 7.0.0#81
Merged
Merged
Annotations
5 warnings
|
Run clippy:
src/helper/process_helper.rs#L70
warning: redundant reference in `format!` argument
--> src/helper/process_helper.rs:70:45
|
70 | let full_command_line = format!("{:?}", &command);
| ^^^^^^^^ help: remove the redundant `&`: `command`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_borrows_in_formatting
|
|
Run clippy:
src/helper/process_helper.rs#L37
warning: redundant reference in `format!` argument
--> src/helper/process_helper.rs:37:9
|
37 | &output.command_line, exit_code
| ^^^^^^^^^^^^^^^^^^^^ help: remove the redundant `&`: `output.command_line`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_borrows_in_formatting
|
|
Run clippy:
src/handler/init_handler.rs#L39
warning: redundant reference in `format!` argument
--> src/handler/init_handler.rs:39:9
|
39 | &options.github_repo_name
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the redundant `&`: `options.github_repo_name`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_borrows_in_formatting
|
|
Run clippy:
src/handler/init_handler.rs#L38
warning: redundant reference in `format!` argument
--> src/handler/init_handler.rs:38:9
|
38 | &options.github_repo_org,
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the redundant `&`: `options.github_repo_org`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_borrows_in_formatting
= note: `#[warn(clippy::useless_borrows_in_formatting)]` on by default
|
|
Run clippy:
src/handler/github.rs#L54
warning: consider using `sort_by_key`
--> src/handler/github.rs:54:5
|
54 | possible_releases.sort_by(|left, right| right.id.cmp(&left.id));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by
= note: `#[warn(clippy::unnecessary_sort_by)]` on by default
help: try
|
54 - possible_releases.sort_by(|left, right| right.id.cmp(&left.id));
54 + possible_releases.sort_by_key(|right| std::cmp::Reverse(right.id));
|
|
background
wait
wait-all
cancel
parallel
Loading