Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix(clippy): fold nested if into match guard (#2930)
Maximilian Roos1d54037cf9ae
diff --git a/src/commands/config/show.rs b/src/commands/config/show.rsindex 714c1fd79..dfaf7cc62 100644--- a/src/commands/config/show.rs+++ b/src/commands/config/show.rs@@ -1159,7 +1159,7 @@ fn render_shell_status(out: &mut String) -> anyhow::Result<()> {ConfigAction::AlreadyExists => {render_already_configured(out, result, &detection_results, &cmd, shell_active)?;}- ConfigAction::WouldAdd | ConfigAction::WouldCreate => {+ ConfigAction::WouldAdd | ConfigAction::WouldCreateif render_would_add_or_create(out,result,@@ -1167,9 +1167,9 @@ fn render_shell_status(out: &mut String) -> anyhow::Result<()> {legacy_fish_has_integration,&cmd,shell_active,- )? {- any_not_configured = true;- }+ )? =>+ {+ any_not_configured = true;}_ => {} // Added/Created won't appear in dry_run mode}