aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
authorBlaž Hrastnik2023-02-09 02:44:14 +0000
committerBlaž Hrastnik2023-02-09 02:44:14 +0000
commit8a602995fa71bee009c0ab1e67b78828a731ca75 (patch)
tree3874c7953d5ca4cf56d5220c1269dcb0a572eb1d /helix-term/src/ui
parente474779c8729c36335b76badc98d8211829122d2 (diff)
Address new clippy lints
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r--helix-term/src/ui/document.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/document.rs b/helix-term/src/ui/document.rs
index 56377d1e..ddbb2cf3 100644
--- a/helix-term/src/ui/document.rs
+++ b/helix-term/src/ui/document.rs
@@ -419,7 +419,7 @@ impl<'a> TextRenderer<'a> {
// TODO special rendering for other whitespaces?
Grapheme::Other { ref g } if g == " " => &self.space,
Grapheme::Other { ref g } if g == "\u{00A0}" => &self.nbsp,
- Grapheme::Other { ref g } => &*g,
+ Grapheme::Other { ref g } => g,
Grapheme::Newline => &self.newline,
};