From ea0cfc685202a013125c909a3ea08d2ea5756b11 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 12 Mar 2026 23:45:49 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- crates/cli/src/apply.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/crates/cli/src/apply.rs b/crates/cli/src/apply.rs index fe01a0b..850c278 100644 --- a/crates/cli/src/apply.rs +++ b/crates/cli/src/apply.rs @@ -56,9 +56,8 @@ fn resolve_targets( on: &[ApplyTarget], modifiers: &mut SubCommandModifiers, ) -> Result<(HashSet, HashSet)> { - on.iter().try_fold( - (HashSet::new(), HashSet::new()), - |result, target| { + on.iter() + .try_fold((HashSet::new(), HashSet::new()), |result, target| { let (mut tags, mut names) = result; match target { ApplyTarget::Tag(tag) => { @@ -75,8 +74,7 @@ fn resolve_targets( } } Ok((tags, names)) - }, - ) + }) } fn partition_arr(arr: Vec, partition: &Partitions) -> Vec -- 2.51.2