chore: Rust 1.81.0 linting

This commit is contained in:
Jack Wills
2024-09-05 20:50:54 +00:00
parent 99f05f2e5b
commit 372f759ca4
4 changed files with 10 additions and 7 deletions
+3 -2
View File
@@ -513,12 +513,13 @@ impl InputHandler {
MouseEventKind::ScrollUp => self.previous(),
MouseEventKind::ScrollDown => self.next(),
MouseEventKind::Down(MouseButton::Left) => {
if let Some(header) = self.gui_state.lock().header_intersect(Rect::new(
let header = self.gui_state.lock().header_intersect(Rect::new(
mouse_event.column,
mouse_event.row,
1,
1,
)) {
));
if let Some(header) = header {
self.sort(header);
}