feat(graph): implement graph analysis #20
GitHub Actions / clippy
succeeded
Nov 10, 2023 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
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 37 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:37:22
|
36 | if target_directory.is_some() {
| ----------------------------- help: try: `if let Some(..) = target_directory`
37 | target_dir = 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
Check warning on line 22 in src/rsoft.rs
github-actions / clippy
called `unwrap` on `suffix` after checking its variant with `is_some`
warning: called `unwrap` on `suffix` after checking its variant with `is_some`
--> src/rsoft.rs:21:25
|
20 | let pattern = if suffix.is_some() {
| ------------------- help: try: `if let Some(..) = suffix`
21 | let suffix_re = suffix
| _________________________^
22 | | .unwrap()
| |_____________________^
|
= 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