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.
This commit is contained in:
Ian Hobson 2024-10-02 09:59:57 +02:00 committed by Michael Davis
parent e670970dd8
commit 715a13b2d3

View file

@ -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,