Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/ui/info.rs')
-rw-r--r--helix-term/src/ui/info.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/info.rs b/helix-term/src/ui/info.rs
index 1cac7c86..217cee6b 100644
--- a/helix-term/src/ui/info.rs
+++ b/helix-term/src/ui/info.rs
@@ -24,7 +24,7 @@ impl Component for Info {
surface.clear_with(area, popup_style);
let block = Block::bordered()
- .title(self.title.as_ref())
+ .title(self.title.as_str())
.border_style(popup_style);
let margin = Margin::horizontal(1);