chore(dep): bump the deps group across 1 directory with 16 updates (#… #253
clippy
5 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 5 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.85.1 (4eb161250 2025-03-15)
- cargo 1.85.1 (d73d2caf9 2024-12-31)
- clippy 0.1.85 (4eb161250e 2025-03-15)
Annotations
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 + ///
|
Check warning on line 158 in src/cmds/pick.rs
github-actions / clippy
use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
--> src/cmds/pick.rs:158:68
|
158 | let problem = &problems[rand::thread_rng().gen_range(0..problems.len())];
| ^^^^^^^^^
Check warning on line 147 in src/cmds/pick.rs
github-actions / clippy
use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
--> src/cmds/pick.rs:147:68
|
147 | let problem = &problems[rand::thread_rng().gen_range(0..problems.len())];
| ^^^^^^^^^
Check warning on line 158 in src/cmds/pick.rs
github-actions / clippy
use of deprecated function `rand::thread_rng`: renamed to `rng`
warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
--> src/cmds/pick.rs:158:55
|
158 | let problem = &problems[rand::thread_rng().gen_range(0..problems.len())];
| ^^^^^^^^^^
Check warning on line 147 in src/cmds/pick.rs
github-actions / clippy
use of deprecated function `rand::thread_rng`: renamed to `rng`
warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
--> src/cmds/pick.rs:147:55
|
147 | let problem = &problems[rand::thread_rng().gen_range(0..problems.len())];
| ^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default