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