Update Rust crate clap to v4.5.41 #22
Annotations
7 warnings
called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator:
src/main.rs#L20
warning: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator
--> src/main.rs:20:13
|
20 | / line.split(' ')
21 | | .last()
| |__________________-----^
| |
| help: try: `next_back()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_ended_iterator_last
= note: `#[warn(clippy::double_ended_iterator_last)]` on by default
|
variables can be used directly in the `format!` string:
src/web.rs#L56
warning: variables can be used directly in the `format!` string
--> src/web.rs:56:5
|
56 | println!("Listening on {}...", listen);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `#[warn(clippy::uninlined_format_args)]` on by default
help: change this to
|
56 - println!("Listening on {}...", listen);
56 + println!("Listening on {listen}...");
|
|
rust
Cache not found for keys: v0-rust-rust-Linux-x64-4d15c146-e046e356, v0-rust-rust-Linux-x64-4d15c146
|
rust
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
rust
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
rust
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
rust
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|