From 2ca57f02b50632139eb46244cadcb0c525795300 Mon Sep 17 00:00:00 2001 From: Ian Hobson Date: Wed, 2 Oct 2024 09:59:57 +0200 Subject: [PATCH] Remove an incorrect comment This was copied from the function above (set_style). I don't know enough about the function to suggest an alternative. --- helix-term/src/ui/document.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/helix-term/src/ui/document.rs b/helix-term/src/ui/document.rs index ae00ea149..d1a74e7e2 100644 --- a/helix-term/src/ui/document.rs +++ b/helix-term/src/ui/document.rs @@ -522,8 +522,6 @@ impl<'a> TextRenderer<'a> { self.surface.set_style(area, style); } - /// Sets the style of an area **within the text viewport* this accounts - /// both for the renderers vertical offset and its viewport #[allow(clippy::too_many_arguments)] pub fn set_string_truncated( &mut self,