feat(main): Add command for generating completion files #15
GitHub Actions / clippy
succeeded
Nov 7, 2023 in 0s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.73.0 (cc66ad468 2023-10-03)
- cargo 1.73.0 (9c4383fb5 2023-08-26)
- clippy 0.1.73 (cc66ad4 2023-10-03)
Annotations
Check warning on line 29 in src/rsoft.rs
github-actions / clippy
called `unwrap` on `target_directory` after checking its variant with `is_some`
warning: called `unwrap` on `target_directory` after checking its variant with `is_some`
--> src/rsoft.rs:29:29
|
28 | if target_directory.is_some() {
| ----------------------------- help: try: `if let Some(..) = target_directory`
29 | current_directory = target_directory.unwrap().as_ref().to_path_buf();
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
= note: `#[warn(clippy::unnecessary_unwrap)]` on by default
Loading