Skip to content

chore(deps): bump the cargo-dependencies group with 2 updates (#72) #87

chore(deps): bump the cargo-dependencies group with 2 updates (#72)

chore(deps): bump the cargo-dependencies group with 2 updates (#72) #87

Triggered via push November 20, 2024 03:35
Status Success
Total duration 2m 33s
Artifacts

check.yml

on: push
Matrix: check / clippy
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
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 + } |
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 + } |