API draft for the rewrite #24
Annotations
3 warnings
|
this `if` statement can be collapsed:
winapps/src/lib.rs#L10
warning: this `if` statement can be collapsed
--> winapps/src/dirs.rs:10:5
|
10 | / if let Ok(false) = path.try_exists() {
11 | | if let Err(e) = fs::create_dir_all(path) {
12 | | bail!(e);
13 | | }
14 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
10 ~ if let Ok(false) = path.try_exists()
11 ~ && let Err(e) = fs::create_dir_all(path) {
12 | bail!(e);
13 ~ }
|
|
|
check
Resource not accessible by integration - https://docs.github.com/rest/checks/runs#create-a-check-run
|
|
check
clippy-action doesn't have permissions to create Check Runs, disabling!
|