chore(deps): bump tempfile from 3.19.0 to 3.19.1 #218
Annotations
2 warnings
lint (ubuntu-latest):
src/main.rs#L48
warning: called `expect` on `config` after checking its variant with `is_none`
--> src/commands.rs:48:29
|
44 | let opt = if opt.format.is_some() || config.is_none() {
| ---------------- the check is happening here
...
48 | format: config.expect("Here we know that it is some").print_format,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: try using `if let` or `match`
= 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
|
lint (macOS-latest):
src/main.rs#L48
warning: called `expect` on `config` after checking its variant with `is_none`
--> src/commands.rs:48:29
|
44 | let opt = if opt.format.is_some() || config.is_none() {
| ---------------- the check is happening here
...
48 | format: config.expect("Here we know that it is some").print_format,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: try using `if let` or `match`
= 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
|