From 8a602995fa71bee009c0ab1e67b78828a731ca75 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Thu, 9 Feb 2023 11:44:14 +0900 Subject: Address new clippy lints --- helix-term/src/ui/document.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-term/src/ui') 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, }; -- cgit v1.2.3-70-g09d2