summaryrefslogtreecommitdiffstats
path: root/src/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabs')
-rw-r--r--src/tabs/status.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tabs/status.rs b/src/tabs/status.rs
index 765ae1c4..cd544b4b 100644
--- a/src/tabs/status.rs
+++ b/src/tabs/status.rs
@@ -232,8 +232,7 @@ impl Status {
});
let w = Paragraph::new(format!(
- "{}{{{}}}",
- ahead_behind, branch_name
+ "{ahead_behind}{{{branch_name}}}"
))
.alignment(Alignment::Right);
@@ -560,8 +559,7 @@ impl Status {
item.path.as_str(),
) {
self.queue.push(InternalEvent::ShowErrorMsg(format!(
- "reset failed:\n{}",
- e
+ "reset failed:\n{e}"
)));
false