aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r--helix-term/src/ui/statusline.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/statusline.rs b/helix-term/src/ui/statusline.rs
index 4aa64634..dbf5ac31 100644
--- a/helix-term/src/ui/statusline.rs
+++ b/helix-term/src/ui/statusline.rs
@@ -275,7 +275,7 @@ where
});
if warnings > 0 || errors > 0 {
- write(context, format!(" {} ", "W"), None);
+ write(context, " W ".into(), None);
}
if warnings > 0 {