chore: Rust 1.86.0 linting

This commit is contained in:
Jack Wills
2025-04-14 11:47:00 +00:00
parent 997eebca20
commit 9acf60334c
8 changed files with 23 additions and 21 deletions
+2 -2
View File
@@ -46,8 +46,8 @@ fn gen_header_block<'a>(colors: AppColors, fd: &FrameData, header: Header) -> (C
SortedOrder::Desc => suffix = "",
}
color = colors.headers_bar.text_selected;
};
};
}
}
(color, suffix)
}
+1 -1
View File
@@ -282,7 +282,7 @@ impl GuiState {
Region::HelpPanel => {
self.intersect_help = Some(area);
}
};
}
}
/// Check if an ContainerId is set in the delete_container field
+2 -2
View File
@@ -93,7 +93,7 @@ impl Ui {
}
if let Err(e) = ui.reset_terminal() {
error!("{e}");
};
}
}
_ => {
error!("Terminal Error");
@@ -180,7 +180,7 @@ impl Ui {
self.app_data
.lock()
.set_error(e, &self.gui_state, Status::Error);
};
}
}
self.terminal.clear().ok();
self.reset_terminal().ok();