chore: Rust 1.86.0 linting
This commit is contained in:
@@ -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
@@ -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
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user