chore(dep): bump actions/checkout from 4 to 5 in the deps group #327
Annotations
15 warnings
|
writing `&String` instead of `&str` involves a new object where a slice will do:
src/config/code.rs#L22
warning: writing `&String` instead of `&str` involves a new object where a slice will do
--> src/config/code.rs:22:25
|
22 | fn is_default_string(t: &String) -> bool {
| ^^^^^^^ help: change this to: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|
|
called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator:
src/cache/parser.rs#L18
warning: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator
--> src/cache/parser.rs:18:21
|
18 | None => fid_obj.as_str()?.split(' ').last()?.parse::<i32>().ok()?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------
| |
| 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
|
|
empty lines after doc comment:
src/cmds/completions.rs#L12
warning: empty lines after doc comment
--> src/cmds/completions.rs:12:1
|
12 | / /// Generate shell Completions
13 | |
14 | | /// USAGE:
15 | | /// leetcode completions <shell>
16 | |
| |_^
...
20 | pub struct CompletionCommand;
| ---------------------------- the comment documents this struct
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default
= help: if the empty lines are unintentional, remove them
help: if the documentation should include the empty lines include them in the comment
|
13 + ///
14 | /// USAGE:
15 | /// leetcode completions <shell>
16 + ///
|
|
|
writing `&String` instead of `&str` involves a new object where a slice will do:
src/config/code.rs#L22
warning: writing `&String` instead of `&str` involves a new object where a slice will do
--> src/config/code.rs:22:25
|
22 | fn is_default_string(t: &String) -> bool {
| ^^^^^^^ help: change this to: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|
|
called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator:
src/cache/parser.rs#L18
warning: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator
--> src/cache/parser.rs:18:21
|
18 | None => fid_obj.as_str()?.split(' ').last()?.parse::<i32>().ok()?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------
| |
| 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
|
|
empty lines after doc comment:
src/cmds/completions.rs#L12
warning: empty lines after doc comment
--> src/cmds/completions.rs:12:1
|
12 | / /// Generate shell Completions
13 | |
14 | | /// USAGE:
15 | | /// leetcode completions <shell>
16 | |
| |_^
...
20 | pub struct CompletionCommand;
| ---------------------------- the comment documents this struct
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default
= help: if the empty lines are unintentional, remove them
help: if the documentation should include the empty lines include them in the comment
|
13 + ///
14 | /// USAGE:
15 | /// leetcode completions <shell>
16 + ///
|
|
|
build (ubuntu-latest)
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/
|
|
build (ubuntu-latest)
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/
|
|
build (ubuntu-latest)
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/
|
|
build (ubuntu-latest)
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/
|
|
build (macOS-latest)
sqlite 3.50.4 is already installed and up-to-date.
To reinstall 3.50.4, run:
brew reinstall sqlite
|
|
build (macOS-latest)
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/
|
|
build (macOS-latest)
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/
|
|
build (macOS-latest)
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/
|
|
build (macOS-latest)
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/
|