From ac0e677fae088ef4ccf252411857346c649656cd Mon Sep 17 00:00:00 2001 From: Nik Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Tue, 25 Mar 2025 12:34:01 +0000 Subject: [PATCH] chore: appease clippy --- helix-term/src/ui/text_decorations/blame.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/ui/text_decorations/blame.rs b/helix-term/src/ui/text_decorations/blame.rs index df2669c36..69a1d2ac6 100644 --- a/helix-term/src/ui/text_decorations/blame.rs +++ b/helix-term/src/ui/text_decorations/blame.rs @@ -48,7 +48,7 @@ impl Decoration for InlineBlame { .set_string_truncated( renderer.viewport.x + start_drawing_at, pos.visual_line, - &blame, + blame, renderer.viewport.width.saturating_sub(start_drawing_at) as usize, |_| self.style, true,