chore(dep): bump the deps group with 7 updates (#192) #264
GitHub Actions / clippy
succeeded
Jun 23, 2025
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.87.0 (17067e9ac 2025-05-09)
- cargo 1.87.0 (99624be96 2025-05-06)
- clippy 0.1.87 (17067e9ac6 2025-05-09)
Annotations
Check warning on line 18 in src/cache/parser.rs
github-actions / clippy
called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator
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
Check warning on line 16 in src/cmds/completions.rs
github-actions / clippy
empty lines after doc comment
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 + ///
|
Loading