Skip to content

Commit

Permalink
Remove an incorrect comment
Browse files Browse the repository at this point in the history
This was copied from the function above (set_style). I don't know enough
about the function to suggest an alternative.
  • Loading branch information
irh authored and the-mikedavis committed Dec 5, 2024
1 parent e670970 commit 715a13b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions helix-term/src/ui/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 715a13b

Please sign in to comment.