lib/bin: Fix clippy warnings

This commit is contained in:
Erik Kundt
2024-11-29 12:07:50 +01:00
parent f6fe140aba
commit 239b7a0343
9 changed files with 130 additions and 164 deletions
+1 -1
View File
@@ -798,7 +798,7 @@ impl<'a> Widget for TextView<'a> {
frame.render_stateful_widget(scroller, scroller_area, &mut scroller_state);
frame.render_widget(
Paragraph::new(self.text.clone()).scroll((self.cursor.x as u16, self.cursor.y as u16)),
Paragraph::new(self.text.clone()).scroll((self.cursor.x, self.cursor.y)),
text_area,
);