Skip to content

docs: move configuration docs to Wiki #215

docs: move configuration docs to Wiki

docs: move configuration docs to Wiki #215

Triggered via push March 18, 2025 10:18
Status Success
Total duration 1m 18s
Artifacts

lint.yml

on: push
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
/home/runner/work/envfetch/envfetch/src/main.rs#L48
called `expect` on `config` after checking its variant with `is_none`
/Users/runner/work/envfetch/envfetch/src/main.rs#L48
called `expect` on `config` after checking its variant with `is_none`
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