Verified Commit 8e7a73fc authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

chore: fix if-let clippy warnings

parent 891df014
......@@ -20,12 +20,9 @@ use tokio::sync::Mutex;
async fn run(args: Args) -> Result<()> {
/* Early exit for completions */
match args.command {
Command::Completions(completions) => {
if let Command::Completions(completions) = args.command {
args::gen_completions(&completions)?;
return Ok(());
}
_ => {}
}
let state = Arc::new(Mutex::new(State::default()));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment