chore: More cleanup after cargo clippy

Also added some type efficiency improvements (using references where possible and added SliceDeque crate)

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2025-01-05 21:08:27 +11:00
parent 35047f9885
commit 9dde86bd82
15 changed files with 45 additions and 53 deletions
+2
View File
@@ -8,6 +8,7 @@ use crate::download_manager::{
downloadable_metadata::DownloadableMetadata, progress_object::ProgressObject,
};
#[allow(unused)]
pub struct ToolDownloadAgent {
id: String,
version: String,
@@ -15,6 +16,7 @@ pub struct ToolDownloadAgent {
control_flag: DownloadThreadControl,
progress: Arc<ProgressObject>,
}
#[allow(unused)]
impl Downloadable for ToolDownloadAgent {
fn download(&self, app_handle: &AppHandle) -> Result<bool, ApplicationDownloadError> {
todo!()