chore(deps): bump tui-logger from 0.14.0 to 0.14.1 in the cargo-dependencies group #101
check.yml
on: pull_request
check
/
...
/
fmt
18s
check
/
...
/
doc
1m 52s
check
/
...
/
check
1m 57s
Matrix: check / clippy
Annotations
9 warnings
check / stable / fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
check / nightly / doc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
check / 1.78.0 / check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
check / beta / clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`:
src/config.rs#L157
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
--> src/config.rs:157:5
|
157 | / match cli.command {
158 | | Some(Command::PrintDefaultConfig) => {
159 | | println!("{:#?}", config);
160 | | exit(0);
161 | | }
162 | | _ => (),
163 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match
= note: `#[warn(clippy::single_match)]` on by default
help: try
|
157 ~ if let Some(Command::PrintDefaultConfig) = cli.command {
158 + println!("{:#?}", config);
159 + exit(0);
160 + }
|
|
this let-binding has unit value:
src/main.rs#L13
warning: this let-binding has unit value
--> src/main.rs:13:5
|
13 | let _guard = logging::init()?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the `let` binding: `logging::init()?;`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
= note: `#[warn(clippy::let_unit_value)]` on by default
|
check / stable / clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`:
src/config.rs#L157
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
--> src/config.rs:157:5
|
157 | / match cli.command {
158 | | Some(Command::PrintDefaultConfig) => {
159 | | println!("{:#?}", config);
160 | | exit(0);
161 | | }
162 | | _ => (),
163 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match
= note: `#[warn(clippy::single_match)]` on by default
help: try
|
157 ~ if let Some(Command::PrintDefaultConfig) = cli.command {
158 + println!("{:#?}", config);
159 + exit(0);
160 + }
|
|
this let-binding has unit value:
src/main.rs#L13
warning: this let-binding has unit value
--> src/main.rs:13:5
|
13 | let _guard = logging::init()?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the `let` binding: `logging::init()?;`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
= note: `#[warn(clippy::let_unit_value)]` on by default
|