From 54e2f9690124bed47cc001e07edd66f42a3e6f20 Mon Sep 17 00:00:00 2001 From: Peter Grayson Date: Sun, 21 Jul 2024 15:21:20 -0400 Subject: [PATCH] style: format updates --- src/stack/transaction/mod.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/stack/transaction/mod.rs b/src/stack/transaction/mod.rs index 1bc61655..8f800347 100644 --- a/src/stack/transaction/mod.rs +++ b/src/stack/transaction/mod.rs @@ -834,11 +834,13 @@ impl<'repo> StackTransaction<'repo> { // The renamed patch may have been previously updated in this transaction. // This can happen, for example, for `stg refresh`. self.updated_patches.insert(old_patchname.clone(), None); - self.updated_patches.insert(new_patchname.clone(), Some(patch_state)); + self.updated_patches + .insert(new_patchname.clone(), Some(patch_state)); } else { let patch_state = self.stack.get_patch(old_patchname).clone(); self.updated_patches.insert(old_patchname.clone(), None); - self.updated_patches.insert(new_patchname.clone(), Some(patch_state)); + self.updated_patches + .insert(new_patchname.clone(), Some(patch_state)); } self.ui.print_rename(old_patchname, new_patchname)