From 60ffa83142d43d0b4809b0f93cbdf3c71a8645bb Mon Sep 17 00:00:00 2001 From: Peter Grayson Date: Sun, 28 Jul 2024 12:18:39 -0400 Subject: [PATCH] style: format repair --- src/stack/stack.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/stack/stack.rs b/src/stack/stack.rs index 75eef0df..83df79c0 100644 --- a/src/stack/stack.rs +++ b/src/stack/stack.rs @@ -257,7 +257,12 @@ impl<'repo> Stack<'repo> { let mut local_config_file = self.repo.local_config_file()?; if protect { - local_config_file.set_raw_value_by(section, Some(subsection.into()), "protect", "true")?; + local_config_file.set_raw_value_by( + section, + Some(subsection.into()), + "protect", + "true", + )?; } else { if let Ok(mut value) = local_config_file.raw_value_mut_by(section, Some(subsection.into()), "protect")